UNIX Password change issue

Hi,

While trying to change the password of a normal user [ I logged in as root], I am getting the following message :-

[root@localhost root]# passwd someuser
Changing password for user someuser.
passwd: Authentication information cannot be recovered
[root@localhost root]#
-------------------
Think there's some issue in PAM configuration for password policy, please guide me for the same. Its urgent.

Thanks
geek36

Questions by geek36

Showing Answers 1 - 12 of 12 Answers

I would suggest to check for two things:-

1) check for /etc/passwd | grep username

2) edit following file and remove only 'use_authtok' from this file.
#  vi /etc/pam.d/common-password
password sufficient pam_ldap.so use_authtok
password required pam_unix.so nullok obscure min=4 max=8 md5

Let me know if this does not solve your problem.

Thanks,
Amit Shiknis

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions