summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--auth1.c2
-rw-r--r--auth2.c2
3 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index bc1fb1387..37694bf37 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
120030514
2 - (djm) Bug #117: Don't lie to PAM about username
3
120030512 420030512
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 $
diff --git a/auth1.c b/auth1.c
index 5086a47c3..45cc2d6f0 100644
--- a/auth1.c
+++ b/auth1.c
@@ -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 /*
diff --git a/auth2.c b/auth2.c
index ee6931810..a761ba5fa 100644
--- a/auth2.c
+++ b/auth2.c
@@ -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",