OpenSolaris

Printable Version Enter a New Search
Bug ID 6311010
Synopsis pam_passwd_auth can't deal with old SunOS aging
State 10-Fix Delivered (Fix available in build)
Category:Subcategory pam:unix_scheme
Keywords
Responsible Engineer Joep Vesseur
Reported Against 5.8 , 5.9
Duplicate Of
Introduced In solaris_8
Commit to Fix snv_23
Fixed In snv_23
Release Fixed solaris_nevada(snv_23) , solaris_8(s8patch) (Bug ID:2128818) solaris_9(s9patch) (Bug ID:2128946,) solaris_10u3(s10u3_01) (Bug ID:2130366,)
Related Bugs
Submit Date 15-August-2005
Last Update Date 3-October-2005
Description
Users can't change their NIS passwords when old SunOS aging is active and the new pam modules (passwd_auth instead of pam_unix) are being used.

The command "passwd" (as well as "passwd -r nis") aborts due to incorrect password although the correct old password has been eneterd:
$ passwd -r nis
passwd: Changing password for ....
Enter existing login passwod:
passwd: Sorry, wrong passwd
Permission denied

This only affects users in the NIS repository which do have old SunOS password aging information (the crypted password entry has an additional , and 2-4 chars at the end representing the password aging information). See comments for details.
Work Around
Edit /etc/pam.conf and replace the exiting entry "passwd auth required pam_passwd_auth.so.1" by "passwd auth required pam_unix.so.1" to use the old/obsolete pam_unix implementation.
Comments
N/A