projects
/
sudo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a2e2e3
)
Update comment to reality.
author
Todd C. Miller
<Todd.Miller@courtesan.com>
Tue, 7 Sep 2010 14:27:45 +0000
(10:27 -0400)
committer
Todd C. Miller
<Todd.Miller@courtesan.com>
Tue, 7 Sep 2010 14:27:45 +0000
(10:27 -0400)
--HG--
branch : 1.7
sudo.c
patch
|
blob
|
history
diff --git
a/sudo.c
b/sudo.c
index f6282d5272544953333233fb12b0f5c9ec0ca9b6..151532f17b30255919b81c6ff07c97471387b4f2 100644
(file)
--- a/
sudo.c
+++ b/
sudo.c
@@
-643,9
+643,7
@@
init_vars(envp)
}
/*
- * Get a local copy of the user's struct passwd with the shadow password
- * if necessary. It is assumed that euid is 0 at this point so we
- * can read the shadow passwd file if necessary.
+ * Stash a local copy of the user's struct passwd.
*/
if ((sudo_user.pw = sudo_getpwuid(getuid())) == NULL) {
/* Need to make a fake struct passwd for logging to work. */