When a user tries to change his/her password you get the following error : passwd: Authentication token manipulation error. I am running SLES 11.2 on S390X. Any ideas how to get past this problem.
This is what the /etc/passwd file looks like (Extract that shows the user account that tries to change password) [FONT=Arial Black]
venumadhavp:x:5400:5008:venumadhavp:/home/venumadhavp:/bin/bash[/FONT]
The /etc/shadow file (Extract that shows the user account that tries to change password)[FONT=Arial Black][/FONT]:
venumadhavp:$2y$10$Z4F7wZOsPL2g/YtKpcC2YuVa.eT2P6nPJfXxda35ZNbzi.3FQCiJC:15769:7:32:7:::
Has that user been (or are other users) able to change the password? If it “worked once”, were there any changes to the installation (OS updates, changing user authentication to/from LDAP/NIS/…)?
Sorry to reply in drips and drabs. What happened was that yesterday as root I changed the user’s password. I requested that he change his password after he log on (for security reasons, I do not want to know his password) He could sighn on but could not change his password because of this error.
while these permissions look ok to me, something obviously broke.
Coming from the programming side of things, my next step would be to strace the user’s invocation of “passwd” and look for errors opening/reading files. Whether that’s a path you’d like to walk or not, I cannot say.
Alternatively, you could try to revert the permission changes you made at the request of your auditors and check which one broke “passwd”.
The error you receive could be caused by settings the PAM modules, too… any changes/restrictions you added in that area?
Thanks for helping me to try and find the problem. I missed something very obvious. Luckily SUSE tech support pointed it out to me (I opened an SR and they were very quick to respond). I unlocked and changed the user id as root. I then asked the user to sign on and change his password. That gave the token manipulation error. What I missed, if you look at the chage -l output is the Minimum: 7. What this means is that the user may not change his password within 7 days. I just set it to 0 and the user was able to change his password. Thanks again for looking into this problem. Sometimes the error messages can be a bit confusing.