System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication information cannot be recovered

 
Highlighted
Super Advisor

Authentication information cannot be recovered

Dear all,

I am geting an error as below, while trying to reset the password for account root.

For all the users, i am geting the same error as mentioned below. FYI, all are local accounts.

#passwd root
Changing password for user root.
passwd: Authentication information cannot be recovered
3 REPLIES 3
Highlighted
Respected Contributor

Re: Authentication information cannot be recovered

Hi!
Can you post an output of this commands:
#ls -la passwd*
..
#ls -la shadow*

Regards,
Philipp.
Highlighted
Honored Contributor

Re: Authentication information cannot be recovered

Also checkout your /etc/pam.conf and /etc/pam.conf.d/* files... It might be that you installed something that broke the passwd command from working... For instance forcing the passwd command to work with LDAP.
Every problem has at least one solution. Only some solutions are harder to find.
Highlighted
Super Advisor

Re: Authentication information cannot be recovered

Sorry folks for the late reply, i found the where is the problem is.

The proglem @ /etc/pam.d/system-auth
the below line was #

#auth required /lib/security/$ISA/pam_tally.so onerr=fail no_magic_root deny=3

I removed the #, and it started working fine for me.

Good luck