Bug#321384: [Pkg-shadow-devel] Bug#321384: su refuses to change an expired password for root

2005-08-06 Thread Alexander Gattin
Hi! On Sat, Aug 06, 2005 at 01:05:50AM +0200, Nicolas François wrote: It performs an pam_chauthok when pam_acct_mgmt returns an PAM_CHANGE_EXPIRED_AUTHOK. Sorry, here you have a typo: if (amroot) { fprintf (stderr, _(%s: %s\n(Ignored)\n), Prog,

Bug#321384: [Pkg-shadow-devel] Bug#321384: su refuses to change an expired password for root

2005-08-06 Thread Alexander Gattin
And even more, I think it may/should include: if (amroot) { fprintf (stderr, _(%s: %s\n(Ignored)\n), Prog, pam_strerror (pamh, ret)); + } else if (ret == PAM_NEW_AUTHTOK_REQD) { + SYSLOG

Bug#321384: [Pkg-shadow-devel] Bug#321384: su refuses to change an expired password for root

2005-08-06 Thread Alexander Gattin
Thinking more about this, I have made the next conclusions. On Sat, Aug 06, 2005 at 01:05:50AM +0200, Nicolas François wrote: Can you have a look at this patch? It performs an pam_chauthok when pam_acct_mgmt returns an PAM_CHANGE_EXPIRED_AUTHOK. First, we have agreed upon the next variant

Bug#321384: su refuses to change an expired password for root

2005-08-05 Thread Volker Westphal
Package: login Version: 1:4.0.3-31sarge5 I configured password aging on a freshly Installation of Sarge. When I use ssh to log into an user account with an expired password, I'm forced to change the password like this: Using username westphal. Linux wiesel 2.6.8-2-386 #1 Thu May 19 17:40:50

Bug#321384: su refuses to change an expired password for root

2005-08-05 Thread Nicolas François
found 321384 1:4.0.11.1-1 found 321384 1:4.0.3-35 thanks Hello Volker, Thank you for reporting this. I hereby confirm this bug (for the current testing and experimental packages). For the moment, an user can change her password with a login to a console. I will try to commit a patch for the

Bug#321384: su refuses to change an expired password for root

2005-08-05 Thread Nicolas François
Hello Tomasz, Can you have a look at this patch? It performs an pam_chauthok when pam_acct_mgmt returns an PAM_CHANGE_EXPIRED_AUTHOK. BTW, in adduser.c: s/spoll/spool/ Kind Regrads -- Nekral Index: src/su.c === RCS file: