🌑

Linhost.info

Passwd: Authentication token manipulation error - Ubuntu

You probably encountered this error while trying to reset the password on a Ubuntu system.

1
2
3
4
5
6
passwd nyuser

Enter new UNIX password:
Retype new UNIX password:
passwd: Authentication token manipulation error
passwd: password unchanged

This is the result of trying to work on a file system while mounted as read-only. The solution is a simple one. Before making changes to the users password mount the filesystem as read-write which allows for the necessary changes to be made.

1
mount -o rw,remount /

Now try to change the users passwords again.

1
2
3
4
5
passwd nyuser

Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

, — Aug 20, 2013