]> granicus.if.org Git - sudo/commit
Only reset sudo_user.pw based on SUDO_USER environment variables for
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 27 Oct 2004 16:16:23 +0000 (16:16 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 27 Oct 2004 16:16:23 +0000 (16:16 +0000)
commit29fc2c9475ec418cd54bddecc344cc6234e8ca7e
tree4c0b0ded2c5668099b7f68ca6e68121493ece17d
parent8ac79155725f4064dc181197a9b8055ae4699a30
Only reset sudo_user.pw based on SUDO_USER environment variables for
real commands and sudoedit.  This avoids a confusing message when a
user tries "sudo -l" or "sudo -v" and is denied.
sudo.c