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.

The User Password is not changing for some reason. In the terminal it says password updated successfully,

$ sudo passwd
[sudo] password for zaigham: 
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully

But when I try to log in using the new password it doesn't work. I have changed my password 2, 3 times now but still it's the same. Is that some kind of bug?

share|improve this question
    
For those with the luxury of reinstallation, this problem occurred for me when I set the autologin during my install, I guess the installation process sets some files that aren't compatible with the Account settings GUI. I re-installed and didn't choose autologin. Then I was able to toggle the automatic login in the GUI and it worked. The only caveat is that the GUI will show it as OFF when you enter, it appears to incorrectly detect the current setting. –  user139997 Mar 13 '13 at 17:52

1 Answer 1

up vote 9 down vote accepted

To change your own passwd use just passwd not sudo passwd.

share|improve this answer
    
oh my bad. Thanks! –  Laphanga Nov 3 '12 at 16:19
1  
@Laphanga Also, since sudo passwd sets a password for root, which should generally be avoided in Ubuntu, I recommend reversing that action by running sudo passwd -dl root. –  Eliah Kagan Nov 3 '12 at 16:56

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.