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

English Edit question
Ubuntu shadow Edit question
No assignee Edit question
Last query:
Last reply:
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.