forgotten password root wont reset due to password requested for maintenance

Asked by willfredo matos on 2012-04-06

forgot password for admin cant update computer try to reset password but the computer ask me for the root password for maintenance i dont have got computer from a friend

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Last query:
2012-04-06
Last reply:
2012-04-06
willfredo matos (coqui11520) said : #1

need help before i have to trash computer

How do you mean 'trash computer'? How is that contributing to the question?

You can easily reset passwords by holding SHIFT at boot, select recovery mode, select root then run:

passwd foo; reboot

change foo for your username. Eg:

passwd andy; reboot

You can now log in as your username with your new password.

Can you help with this problem?

Provide an answer of your own, or ask willfredo matos for more information if necessary.

To post a message you must log in.