]> andersk Git - openssh.git/commitdiff
- (djm) Unbreak root password auth. Spotted by dtucker@zip.com.au
authordjm <djm>
Wed, 29 Jan 2003 23:20:56 +0000 (23:20 +0000)
committerdjm <djm>
Wed, 29 Jan 2003 23:20:56 +0000 (23:20 +0000)
ChangeLog
auth-passwd.c

index fd1f9ab5d1a840bb67147fdb44908fd64da4a548..f1f62ebe1abdcf6f38174d774a5ec49c7ff931dc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+20030130
+ - (djm) Unbreak root password auth. Spotted by dtucker@zip.com.au
+
 200301028
  - (djm) Search libposix4 and librt for nanosleep. From dtucker@zip.com.au 
    and openssh-unix-dev@thewrittenword.com 
index d419fa0d2c9f2726f2a8f253a397c43efece3159..9901d48425ffcfd327cc24eeaae930b5d38d1a2d 100644 (file)
@@ -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)
This page took 1.874731 seconds and 5 git commands to generate.