While trying to change user password on linux server i got the below error.
error : passwd: Authentication information cannot be recovered
# passwd mades
Changing password for user mades.
passwd: Authentication information cannot be recovered
root:
I tried to change as my user login also but got the below error
mades> passwd mades
passwd: Authentication token manipulation error
mades>
Then i found that in /etc/pam.d/system-auth there is a entry missing. I added the below entry then its got resolved.
"password sufficient /lib/security/$ISA/pam_unix.so remember=6
This above entry we need to add in /etc/pam.d/system-auth file. Normally the below 4 lines should be there in system-auth file.
=================================
password sufficient pam_unix.so md5 shadow nullok try_first_pass use_authtok remember=6
password requisite /lib/security/$ISA/pam_cracklib.so retry=3 minlen=10 dcredit=-1 try_first_pass
password sufficient /lib/security/$ISA/pam_unix.so remember=6
password required pam_deny.so
1 Comments
Hi There,
ReplyDeleteWhat you’re saying is absolutely correct passwd: authentication information cannot be recovered, but this isn’t the exact situation everywhere. Where most smart folk work on a project - why can’t you do this the Boss asks :).
been with Linux for about two weeks so still a very new newbie! I'm using Mint 17.2 and no matter what scanner program I use, they all react the same. They scan fine the first time they are run, and then if I close any scanner program and re-open it, scanner is not detected anymore. The only way I can get it to scan is to either reboot or to remove and re-insert the scanner usb cable. Any thoughts?
THANK YOU!! This saved my butt today, I’m immensely grateful.
Gracias,
Abhiram