diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | auth1.c | 2 | ||||
-rw-r--r-- | auth2.c | 2 |
3 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,6 @@ | |||
1 | 20030514 | ||
2 | - (djm) Bug #117: Don't lie to PAM about username | ||
3 | |||
1 | 20030512 | 4 | 20030512 |
2 | - (djm) Redhat spec: Don't install profile.d scripts when not | 5 | - (djm) Redhat spec: Don't install profile.d scripts when not |
3 | building with GNOME/GTK askpass (patch from bet@rahul.net) | 6 | building with GNOME/GTK askpass (patch from bet@rahul.net) |
@@ -1384,4 +1387,4 @@ | |||
1384 | save auth method before monitor_reset_key_state(); bugzilla bug #284; | 1387 | save auth method before monitor_reset_key_state(); bugzilla bug #284; |
1385 | ok provos@ | 1388 | ok provos@ |
1386 | 1389 | ||
1387 | $Id: ChangeLog,v 1.2675 2003/05/12 08:15:49 djm Exp $ | 1390 | $Id: ChangeLog,v 1.2676 2003/05/14 00:27:09 djm Exp $ |
@@ -413,7 +413,7 @@ do_authentication(void) | |||
413 | use_privsep ? " [net]" : ""); | 413 | use_privsep ? " [net]" : ""); |
414 | 414 | ||
415 | #ifdef USE_PAM | 415 | #ifdef USE_PAM |
416 | PRIVSEP(start_pam(authctxt->pw == NULL ? "NOUSER" : user)); | 416 | PRIVSEP(start_pam(user)); |
417 | #endif | 417 | #endif |
418 | 418 | ||
419 | /* | 419 | /* |
@@ -162,7 +162,7 @@ input_userauth_request(int type, u_int32_t seq, void *ctxt) | |||
162 | } else { | 162 | } else { |
163 | logit("input_userauth_request: illegal user %s", user); | 163 | logit("input_userauth_request: illegal user %s", user); |
164 | #ifdef USE_PAM | 164 | #ifdef USE_PAM |
165 | PRIVSEP(start_pam("NOUSER")); | 165 | PRIVSEP(start_pam(user)); |
166 | #endif | 166 | #endif |
167 | } | 167 | } |
168 | setproctitle("%s%s", authctxt->pw ? user : "unknown", | 168 | setproctitle("%s%s", authctxt->pw ? user : "unknown", |