How do I get a password for this computer if it was installed before purchase

Asked by sydney

When I bought this computer, the person installed Ubuntu program. I can't remove or delete anything without the password. How do I get the password for this computer?

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
N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi ,

the person ? what person ?

Why you don't ask the person what is the password ?

Thanks

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

In the OS, in a terminal run:

whoami

Remember the username then reboot and hold SHIFT. Select recovery mode and select root. You can now run:

passwd foo; reboot

replace foo for your username. Eg;

passwd andy; reboot

You can now use the new password.

Revision history for this message
xzx (cicos-lopez) said :
#3

Thanks I'll try

Can you help with this problem?

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

To post a message you must log in.