Bug 144 - Bogus output for nonexistent UID
Bogus output for nonexistent UID
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Sudo
1.6.7
PC Linux
: normal normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-06 16:42 MDT by Jan Kara
Modified: 2004-08-06 21:16 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kara 2004-08-06 16:42:48 MDT
When sudo is called to execute some command and the user is specified via uid
(i.e. #<number>) and the uid specified is not in /etc/passwd then sudo writes
error message "sudo: uid <some random string> does not exist in the passwd file!"
Comment 1 Todd C. Miller 2004-08-06 17:16:24 MDT
Aha, this is only triggered when you have targetpw set.  The code in sudo 1.6.8 is different and doesn't 
cause this though it should probably just error out since of course there is no way to use the target 
user for authentication in this case.