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

I have just installed Ubuntu and I am not sure what my password is. I don't really know that much about computers.

share|improve this question

Do this, boot into recovery-mode. to do that, press shift at the purple screen. Then a menu should come up and from there select recovery-mode. Now a ton of text will apear, but then another menu will apear. From there select root command line or something like that. Then I think you can just type:

passwd <username>

and then type in your new password, when you're done, type


and boot normally.

If you run into an "Authentication token manipulation" error, then you first need to type:

mount -o remount,rw /

Then do the passwd command.

share|improve this answer
  1. Click on the Ubuntu icon
  2. Type in UXTerm & select
  3. Type passwd into the box
  4. Now enter a new password & press enter
  5. Re-enter your new password

You have now changed your password.

share|improve this answer
No, You cant if you dont know the existing password. – SiddharthaRT Dec 10 '12 at 10:00
Yes you can do it the way I mentioned, hence you not having to know the original password. – scouser73 Dec 24 '12 at 19:14
Password does need current password. See – jackweirdy Apr 16 '13 at 14:22
I wouldn't be giving out wrong information, I've used this way myself several times. – scouser73 Apr 16 '13 at 14:50
passwd only requires the current password, if you are not root (or if you are root and want to change the root password). Root can change the password of any ordinary user without knowing the current one. – soulsource Apr 16 '13 at 14:54

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.