Bug 19236

Summary: AIX shadow password magic doesn't work since RedHat 7.0
Product: [Retired] Red Hat Linux Reporter: Luca Bonomi <luca.bonomi>
Component: ypbindAssignee: Alexander Larsson <alexl>
Status: CLOSED WONTFIX QA Contact: Aaron Brown <abrown>
Severity: medium Docs Contact:
Priority: high    
Version: 7.0CC: dr
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-03-25 17:36:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Luca Bonomi 2000-10-17 08:41:05 UTC
Hi,

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".

Thanks

Luca

Comment 1 Alexander Larsson 2002-03-25 17:36:49 UTC
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.



Comment 2 Alexander Larsson 2002-04-09 16:33:59 UTC
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.