Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
2  
Please do take the time and read the answers to this question: Why is it bad to run as root? –  Takkat May 13 '13 at 18:32
add comment

5 Answers 5

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
share|improve this answer
add comment

When you use sudo your already accessing root you dont have to specify root.

sudo passwd

If your trying to do this from recovery root you should:

mount -rw -o remount / passwd

share|improve this answer
add comment

try this (root)

mount -o remount, rw /

share|improve this answer
    
The command executes well, after that the same error when trying to change root password –  Ashot May 13 '13 at 18:33
    
hm. try removing libpam-sss and libnss-sss –  aaaa May 13 '13 at 18:37
    
The same error after removing these –  Ashot May 13 '13 at 18:41
add comment

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.

share|improve this answer
add comment

Possibly /etc/passwd and /etc/shadow don't match.

Try to use command pwconv.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.