if you see this error then just run the "pwconv" from root prompt as shown in the example and you will be all set.
[root@aqua ~]# passwd myuser
Changing password for user myuser.
passwd: Authentication token manipulation error
[root@aqua ~]# pwconv
[root@aqua ~]# passwd myuser
Changing password for user myuser.
New UNIX password:
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
[root@aqua ~]#
thanks
ReplyDeletethx
ReplyDeletethx
ReplyDeletethanks
ReplyDeletethanks
ReplyDeleteThanks :)
ReplyDeleteI run pwconv but error passwd: Authentication token manipulation error
ReplyDeleteare you running this as root ?
Deletehttp://www.linuxquestions.org/questions/linux-server-73/problem-with-etc-passwd-871124/
Deletepwconv: cannot lock /etc/passwd; try again later.
ReplyDelete:(
pwconv: cannot lock /etc/passwd; try again later.
ReplyDeleteIf you still can not lock /etc/passwd then try this:
ReplyDelete1. mount -o remount,rw /
2. chmod 640 /etc/shadow
3. pwconv
After this, you should be able to reset passwd.
-Bhavin
but still issue not resolved..
Delete