forgot password to open ubuntu on screen

Asked by mateo0007@gmail.com

What can I do to open ubuntu from the desktop. I forgot the password

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
mateo0007@gmail.com (mateo0007) said :
#1

I have another pc.
I forgot the password to open ubuntu from the screen
what can I do?

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

Hold shift at boot, select recovery mode, select root then run:

passwd foo

Change foo for your username. Eg:

passwd andy

Then set the password then run:

reboot

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

Can you help with this problem?

Provide an answer of your own, or ask mateo0007@gmail.com for more information if necessary.

To post a message you must log in.