From 4d9dc1aa82a8c1e5feaef74ba1ee532b02823947 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 30 Jan 2003 10:20:56 +1100 Subject: - (djm) Unbreak root password auth. Spotted by dtucker@zip.com.au --- auth-passwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auth-passwd.c') 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) -- cgit v1.2.1