diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | monitor.c | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -1,4 +1,8 @@ 20031117 + - (djm) Fix early exit for root auth success when UsePAM=yes and + PermitRootLogin=no + +20031117 - (djm) OpenBSD CVS Sync - djm@cvs.openbsd.org 2003/11/03 09:03:37 [auth-chall.c] @@ -1472,4 +1476,4 @@ - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. Report from murple@murple.net, diagnosis from dtucker@zip.com.au -$Id: ChangeLog,v 1.3112 2003/11/17 11:18:21 djm Exp $ +$Id: ChangeLog,v 1.3113 2003/11/17 23:45:20 djm Exp $ @@ -309,7 +309,7 @@ monitor_child_preauth(Authctxt *_authctxt, struct monitor *pmonitor) authenticated = 0; #ifdef USE_PAM /* PAM needs to perform account checks after auth */ - if (options.use_pam) { + if (options.use_pam && authenticated) { Buffer m; buffer_init(&m); |