We use an LDAP-server, but we also use local accounts.
[jdoe@tst-03 ~]$ passwd Changing password for user jdoe. Changing password for jdoe. (current) UNIX password: Enter login(LDAP) password:
This is an account that exists locally on the server. Unfortunately when the user tries to change his password, passwd asks him for the LDAP password.
How can I allow this user to change his password locally ('/etc/shadow')? It should not be asking for the LDAP password.