diff options
author | djm <djm> | 2003-11-17 23:45:20 +0000 |
---|---|---|
committer | djm <djm> | 2003-11-17 23:45:20 +0000 |
commit | 194cef4abe80a151d2190a4cad2e9c0dd2c554b2 (patch) | |
tree | f86f6fe2a56aaa7cb43c36c7f717688c85d92c1b /monitor.c | |
parent | 562ec314967d62373c005d2f4e9559417c1ce0d5 (diff) | |
download | openssh-194cef4abe80a151d2190a4cad2e9c0dd2c554b2.tar.gz |
- (djm) Fix early exit for root auth success when UsePAM=yes and
PermitRootLogin=no
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |