diff options
author | Damien Miller <djm@mindrot.org> | 2003-01-30 10:20:56 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-01-30 10:20:56 +1100 |
commit | 4d9dc1aa82a8c1e5feaef74ba1ee532b02823947 (patch) | |
tree | 4d2145d730a71dc88a333aadca02b36e534ba58b /auth-passwd.c | |
parent | cd6853c31c226d4538f0a46b4ebcdcc734d4b6c0 (diff) |
- (djm) Unbreak root password auth. Spotted by dtucker@zip.com.au
Diffstat (limited to 'auth-passwd.c')
-rw-r--r-- | auth-passwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth-passwd.c b/auth-passwd.c index d419fa0d..9901d484 100644 --- a/auth-passwd.c +++ b/auth-passwd.c @@ -117,7 +117,7 @@ auth_password(Authctxt *authctxt, const char *password) if (pw == NULL) return 0; #ifndef HAVE_CYGWIN - if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_NO_PASSWD) + if (pw->pw_uid == 0 && options.permit_root_login != PERMIT_YES) return 0; #endif if (*password == '\0' && options.permit_empty_passwd == 0) |