If the user specified a uid with the -u flag and the uid exists in
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 24 Mar 2004 23:06:34 +0000 (23:06 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 24 Mar 2004 23:06:34 +0000 (23:06 +0000)
commit6190f376c1e6e752b87d99e241a8f9f1cdd5e7ad
tree3bcd2bf1d92837d33ac393974214e03d27c657cc
parent631cbc285786fa2b906445a425b6ac1aef9dc306
If the user specified a uid with the -u flag and the uid exists in
the passwd file, set runas_user to the name, not the uid.

When comparing usernames in sudoers, if a name is really a uid (starts
with '#') compare it numerically to pw_uid.
parse.c
parse.h
parse.yacc
sudo.c
testsudoers.c
visudo.c