summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--monitor.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index fb3fdaac..24bf3f83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 $
diff --git a/monitor.c b/monitor.c
index 97f1ee9f..c4f9a48f 100644
--- a/monitor.c
+++ b/monitor.c
@@ -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);