Red Hat Bugzilla – Bug 19236
AIX shadow password magic doesn't work since RedHat 7.0
Last modified: 2007-03-26 23:36:42 EDT
I'm using an etherogeneus environment, where I share the passwd NIS map
between Linux and AIX and I use shadow passwords.
The magic for using the shadow passwords in AIX is "##username" as the 2^
field in the password entry. This magic used to work for Linux as well
until the 6.2 release. From RedHat 7.0 I'm not able to use shadow anymore,
because it requires the magic to be "x".
What exactly is it that doesn't work? Can't authenticate? Can't change password?
Also, can you try the latest stuff in rawhide and see if those work for you?
At least yppasswd has gotten some code to deal with this magic.
This is due to a behavior change between pam_pwdb and pam_unix -- pam_unix will
*never* look for a shadow password unless that field is 'x', otherwise there's
no way to know if there's supposed to be one there or not.
I recommend configuring pam to use pam_pwdb instead, which should fix this problem.