summaryrefslogtreecommitdiff
path: root/auth2-none.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2003-09-03 00:30:53 +0000
committerColin Watson <cjwatson@debian.org>2003-09-03 00:30:53 +0000
commit39d9195514df907a6f1eb6fc10688860af83f43b (patch)
tree408c7952c02772fdc10267265526d0b6d2526190 /auth2-none.c
parentd702e4063b641afb252fe6029553ebffac0dd81a (diff)
Fix login delay, spurious auth.log entry, and PermitRootLogin information
leakage due to PAM issues with upstream's recent security update (thanks, Darren Tucker; closes: #99168, #192207, #193546).
Diffstat (limited to 'auth2-none.c')
-rw-r--r--auth2-none.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/auth2-none.c b/auth2-none.c
index 692a2961f..46a4c617e 100644
--- a/auth2-none.c
+++ b/auth2-none.c
@@ -100,6 +100,8 @@ userauth_none(Authctxt *authctxt)
100 if (check_nt_auth(1, authctxt->pw) == 0) 100 if (check_nt_auth(1, authctxt->pw) == 0)
101 return(0); 101 return(0);
102#endif 102#endif
103 if (options.permit_empty_passwd == 0)
104 return 0;
103 return PRIVSEP(auth_password(authctxt, "")) && authctxt->valid; 105 return PRIVSEP(auth_password(authctxt, "")) && authctxt->valid;
104} 106}
105 107