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

This question already has an answer here:

I haven't used my linux computer in a couple of months because I went abroad, so I downgraded to be safe in case it got stolen; But the thing is I cannot log in because the password I believe to have used does not work any more. Is there a way I can change this or do I have to take it into a store? Thanks!

share|improve this question

marked as duplicate by Seth, Alvar, Geppettvs D'Constanzo, bcbc, Eric Carvalho May 8 '13 at 0:03

This question was marked as an exact duplicate of an existing question.

Hold shift when you bootup your computer. The GRUB menu will come up. Select "Advanced Options" and then "Recovery Mode." Once you are in recovery mode, type:

mount -o remount,rw /

to get your filesystem mounted read/write. Then type:

passwd {your username}

Then enter your new password. Reboot and you should be good to go. Let me know if you have any problems and we'll take it step by step.

share|improve this answer

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