[sudo-users] sudo -u #uid on Kubuntu Feisty
R (Chandra) Chandrasekhar
chandra at ee.uwa.edu.au
Mon Aug 6 06:14:45 EDT 2007
Dear Folks,
I am trying to execute sudo with the numeric UID rather than a username on a
Kubuntu Feisty Linux system.
When I try, say, (where UID 1000 exists),
sudo #1000 <command>
(where UID 1000 exists), I simply get the help text:
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }
If I try
sudo -u 1000 <command>
I get
sudo: no passwd entry for 1000!
Can anyone throw light on this behaviour and suggest what I should do to resolve
this issue?
Thank you.
Chandra
06 Aug 07
More information about the sudo-users
mailing list