PAM + LDAP passwd changes

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

 



Hello,

When I, as root, change the password of another user in the /etc/passwd 
file like

[root@star /]#passwd anotheruser

the password program immediately allows me to enter a new password.

Now, I have this user in an LDAP-based directory. As root, I can modify his
password, but the passwd-program first asks me to enter this user's current
(LDAP) password before it lets me make any changes, which is very 
unpleasant
in the case of somebody forgetting his/her password.

Does anybody know how I should modify the /etc/pam.d/passwd file to overcome
this unwanted situation? The current contents are displayed at the 
bottom of this message.

Thanks in advance

Maarten Buiter

#%PAM-1.0
auth       sufficient   /lib/security/pam_ldap.so
auth       required     /lib/security/pam_unix_auth.so use_first_pass

account    sufficient   /lib/security/pam_ldap.so
account    required     /lib/security/pam_unix_acct.so

password   required     /lib/security/pam_cracklib.so retry=3
password   sufficient   /lib/security/pam_ldap.so
password   required     /lib/security/pam_pwdb.so try_first_pass











_______________________________________________

Pam-list@redhat.com
https://listman.redhat.com/mailman/listinfo/pam-list

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

  Powered by Linux