]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
- (djm) Unbreak root password auth. Spotted by dtucker@zip.com.au
authorDamien Miller <djm@mindrot.org>
Wed, 29 Jan 2003 23:20:56 +0000 (10:20 +1100)
committerDamien Miller <djm@mindrot.org>
Wed, 29 Jan 2003 23:20:56 +0000 (10:20 +1100)
ChangeLog
auth-passwd.c

index f6a07fd91d6552bfef7117249a0ee89853cb3012..300552af3297623727d5ca108351575d1bc710d3 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 
      save auth method before monitor_reset_key_state(); bugzilla bug #284;
      ok provos@
 
-$Id: ChangeLog,v 1.2589 2003/01/28 00:33:42 djm Exp $
+$Id: ChangeLog,v 1.2590 2003/01/29 23:20:56 djm Exp $
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)