i bought this machine but dont have admin password

Asked by william shaw

i need to reset amin. password thank you

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

Reboot and hold shift. Select recovery mode, select root

then run:

cd /home; ls

ls == LS in lower case

You can now see the usernames. You can now run:

passwd foo

(replace foo with the username. E.g: passwd andy )

you can now run:

reboot

and log in as the user with your new password.

Can you help with this problem?

Provide an answer of your own, or ask william shaw for more information if necessary.

To post a message you must log in.