I am trying to change root password in my Ubuntu system.
This is what I did:
ashot@ashot-desktop:~$ sudo passwd root passwd: Authentication token manipulation error passwd: password unchanged
How do I change root password in Ubuntu?
Usually there is no need to set a root password. See: https://help.ubuntu.com/community/RootSudo
To set or change your (root) password:
sudo -i passwd
To lock it again
sudo passwd -dl root
When you use
sudo your already accessing root you don't have to specify root.
If your trying to do this from recovery root you should:
mount -rw -o remount / passwd
If 'ashot' is your root account, don't call 'sudo passwd'. I've been doing that for the past few months and it wouldn't change my password.
To change my password, I had to call 'passwd' without 'sudo'. Otherwise, the password modification is not taken account of.
I installed a .deb file which created for pardus, when i install this package to ubuntu, my ubuntu is gone, i had never been super user also couldn't use passwd to change password.
I got the same error :
passwd: Authentication token manipulation error passwd: password unchanged
Try this steps;
- restart ubuntu, open it recovery mode
- drop root
- upgrade your ubuntu to a new version
This solved my problem, i hope it helps you too.
/etc/shadow don't match.
Try to use command
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?