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.

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

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.