[Bug 442] sshd allows login via public-key when account locked

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Aug 25 10:13:52 EST 2003


http://bugzilla.mindrot.org/show_bug.cgi?id=442





------- Additional Comments From djm at mindrot.org  2003-08-25 10:13 -------
(From update of attachment 368)
>-#if defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW) && \
>-    defined(HAS_SHADOW_EXPIRE)
>+#if defined(HAVE_SHADOW_H) && !defined(DISABLE_SHADOW)
>+	if (!options.use_pam)
>+		spw = getspnam(pw->pw_name);
>+#if !defined(USE_PAM) && defined(HAS_SHADOW_EXPIRE)

The !USE_PAM should be removed and replaced with a !options.use_pam. The
behaviour for UsePAM=no should be the same as being configured --without-pam.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list