Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Changing the user account password seems to take forever. Do any of you have this problem?

share|improve this question
up vote 2 down vote accepted

Simple command:

sudo passwd $USER

where $USER is name of user account or just


to change the password of the account you are running command from, then type ur current password and then new password and then retype it. :)

share|improve this answer
sudo passwd is not the same as password! passwd changes the password for the user running the command, with sudo this becomes root. Use sudo passwd $USER to change the password for user $USER – Lekensteyn Feb 9 '12 at 21:07
thanks, I have edited my response. – Harshveer Feb 10 '12 at 10:35

Your Answer


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.