[sudo-users] sudo -u #uid on Kubuntu Feisty
Todd C. Miller
Todd.Miller at courtesan.com
Mon Aug 6 10:16:35 EDT 2007
In message <46B7241C.603 at ee.uwa.edu.au>
so spake "R (Chandra) Chandrasekhar" (chandra):
> 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.
I've never run into this myself since the shell I use doesn't treat
a # on the command line as a comment. I'll add a note to the man
page about it though.
- todd
More information about the sudo-users
mailing list