[sudo-users] sudo -u #uid on Kubuntu Feisty

R (Chandra) Chandrasekhar chandra at ee.uwa.edu.au
Mon Aug 6 09:37:32 EDT 2007


Todd C. Miller wrote:
> Did you try:
> 
> sudo -u #1000 command

Yes indeed. But all I got as output was the help text.

Thanks to Wesley Schwengle for pointing out that the # character needs to be 
escaped. So the invocation

sudo -u \#1000 command

does indeed work as expected.

Perhaps this could be pointed out on the man page.

Thanks everyone.

Chandra
06 Aug 07



More information about the sudo-users mailing list