forgot my password to perform administrative tasks

Asked by veronica coulter

I forgot my password to perform administrative tasks

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Boot to root recovery mode (hold shift at boot and select recovery mode, then select root). You can now run:

passwd foo

replace foo with your username. E.g.:

passwd andy

Then set the password as you wish then run:

reboot

Let the system boot regularly and log in with your new password.

Can you help with this problem?

Provide an answer of your own, or ask veronica coulter for more information if necessary.

To post a message you must log in.