[Bug 14] Can't change expired /etc/shadow password without PAM

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Feb 10 12:12:30 EST 2004


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





------- Additional Comments From dtucker at zip.com.au  2004-02-10 12:12 -------
> What about the use_pam == 1, use_privsep == 1 and authctxt->force_pwchange == 1
case?

This one will catch that:
+	if (s->authctxt->force_pwchange && !(options.use_pam && !use_privsep))
[...] do_pwchange()

  = 1 && !(1 && !1)
  = 1 && !(0)
  = 1 && 1

do_pam_chauthtok() should only be called for use_pam = 1 and use_privsep = 0. 
The logic could possibly be clearer, though.




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the openssh-bugs mailing list