how can i reset my password ?

Asked by laura on 2012-04-28

I changed my password,and the computer sayd later its wrong.But I know its not.And now I cant install or change enything.What to do?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
2012-04-29
Last query:
2012-04-29
Last reply:
2012-04-28

Reboot and hold shift, select recovery mode then select root. Then run:

passwd foo; reboot

Change foo for your username. Eg:

passwd andy; reboot

You can now use the new password to do stuff with.

laura (ltamfeld) said : #2

Thanks actionparsnip, that solved my question.

laura (ltamfeld) said : #3

sry,dont understand exacly.my english isnt very good

Here there are other questions like yours take a look:

https://answers.launchpad.net/ubuntu/+source/shadow