summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--auth1.c3
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 53e91b49..d4d85e09 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
20020213
- - (djm) Don't use system sys/queue.h on AIX. Report from gert@greenie.muc.de
+ - (djm) Don't use system sys/queue.h on AIX. Report from
+ gert@greenie.muc.de
+ - (djm) Bug #114 - not starting PAM for SSH protocol 1 invalid users
20020213
- (djm) OpenBSD CVS Sync
@@ -7589,4 +7591,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
-$Id: ChangeLog,v 1.1852 2002/02/13 21:44:04 djm Exp $
+$Id: ChangeLog,v 1.1853 2002/02/14 09:39:49 djm Exp $
diff --git a/auth1.c b/auth1.c
index cba3f7d6..c2d99895 100644
--- a/auth1.c
+++ b/auth1.c
@@ -395,8 +395,7 @@ do_authentication(void)
setproctitle("%s", pw ? user : "unknown");
#ifdef USE_PAM
- if (pw)
- start_pam(user);
+ start_pam(pw == NULL ? "NOUSER" : user);
#endif
/*