- (djm) Unbreak root password auth. Spotted by dtucker@zip.com.au
This commit is contained in:
parent
cd6853c31c
commit
4d9dc1aa82
|
@ -1,3 +1,6 @@
|
||||||
|
20030130
|
||||||
|
- (djm) Unbreak root password auth. Spotted by dtucker@zip.com.au
|
||||||
|
|
||||||
200301028
|
200301028
|
||||||
- (djm) Search libposix4 and librt for nanosleep. From dtucker@zip.com.au
|
- (djm) Search libposix4 and librt for nanosleep. From dtucker@zip.com.au
|
||||||
and openssh-unix-dev@thewrittenword.com
|
and openssh-unix-dev@thewrittenword.com
|
||||||
|
@ -1083,4 +1086,4 @@
|
||||||
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
||||||
ok provos@
|
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 $
|
||||||
|
|
|
@ -117,7 +117,7 @@ auth_password(Authctxt *authctxt, const char *password)
|
||||||
if (pw == NULL)
|
if (pw == NULL)
|
||||||
return 0;
|
return 0;
|
||||||
#ifndef HAVE_CYGWIN
|
#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;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
if (*password == '\0' && options.permit_empty_passwd == 0)
|
if (*password == '\0' && options.permit_empty_passwd == 0)
|
||||||
|
|
Loading…
Reference in New Issue