trying to reset mypassword and format my laptop without cd to update cpu

Asked by edward tekaucic

i have a user password on my laptop and i forgot what it was so i cant do anything without it and i dont know how to format my laptop without a cd

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

You don't need to format it, you can just reset the password. Hold shift at boot, select recovery mode, select root then run:

passwd foo; reboot

chage foo for your username, Eg:

passwd andy; reboot

Then you can log in as your user with the new password.

Can you help with this problem?

Provide an answer of your own, or ask edward tekaucic for more information if necessary.

To post a message you must log in.