Bug 19236 - AIX shadow password magic doesn't work since RedHat 7.0
Summary: AIX shadow password magic doesn't work since RedHat 7.0
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: ypbind
Version: 7.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact: Aaron Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2000-10-17 08:41 UTC by Luca Bonomi
Modified: 2007-03-27 03:36 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2002-03-25 17:36:55 UTC

Attachments (Terms of Use)

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

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



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.

Note You need to log in before you can comment on or make changes to this bug.