PAM> passwd: User not known to the underlying authentication module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  I am working with a pared down redhat installation, and I am
attempting to get PAM working again, but I can't seem to find what I am
missing.  I currently have /etc/pam.d/ configured with the following.

/etc/pam.d
other
system-auth


/etc/pam.d/other
auth	required	pam_unix_auth.so
account	required	pam_unix_acct.so
password required	pam_unix_passwd.so
session	required	pam_unix_session.so

/etc/pam.d/system-auth
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        sufficient    /lib/security/pam_unix.so likeauth nullok md5
shadow
auth        required      /lib/security/pam_deny.so
account     sufficient    /lib/security/pam_unix.so
account     required      /lib/security/pam_deny.so
password    required      /lib/security/pam_cracklib.so retry=3
password    sufficient    /lib/security/pam_unix.so nullok use_authtok
md5 shadow
password    required      /lib/security/pam_deny.so
session     required      /lib/security/pam_unix.so


This will work fine, but as soon as I add passwd to /etc/pam.d with the
contents below I can't get passwd to work.  It gives me the error
"passwd: User not known to the underlying authentication module".  Most
of the other PAM services die when I add there respective services also.

/etc/pam.d/passwd
#%PAM-1.0
auth       required	pam_pwdb.so shadow nullok
account    required	pam_pwdb.so
password   required	pam_cracklib.so retry=3
password   required	pam_pwdb.so use_authtok nullok md5 shadow


I've copied all the files from /lib/security, /etc/security, and
/lib/libpam* over to the new system.  Any suggestions?  If you need more
information about something in particular, feel free to ask.

Matthew M. Copeland
Software Engineer
Honeywell
matthew.copeland@honeywell.com





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux