From 72476d4b24afb0a03e99c75427cfbd63d243bc12 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 14 Feb 2002 20:39:49 +1100 Subject: - (djm) Bug #114 - not starting PAM for SSH protocol 1 invalid users --- auth1.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'auth1.c') 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 /* -- cgit v1.2.3