Bug 144

Summary: Bogus output for nonexistent UID
Product: Sudo Reporter: Jan Kara <jack>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED FIXED    
Severity: normal    
Priority: normal    
Version: 1.6.7   
Hardware: PC   
OS: Linux   

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.