Ubuntu

forgot administration password dont know username

Asked by Angelika Mendenhall on 2011-12-26

I bought this computer from someone else she does not remember the username and password for administrator because her husband died so how do i change the username and password

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu shadow Edit question
Assignee:
No assignee Edit question
Solved by:
Enrico "eNry" Carafa
Solved:
2011-12-26
Last query:
2011-12-26
Last reply:
2011-12-26

I dont know the username so that wont help me now what do i do

If you read the step on the page you will see this:

"Once you're at the root shell prompt, if you have forgotten your username as well, type:
ls /home

That's a lowercase L, by the way, not a capital i, in ls. You should then see a list of the users on your Ubuntu installation. In this case, I'm going to reset Susan Brownmiller's password.

To reset the password, type:
passwd username

where username is the username you want to reset. In this case, I want to reset Susan's password, so I type:
passwd susan

You'll then be prompted for a new password. When you type the password you will get no visual response acknowledging your typing. Your password is still being accepted. Just type the password and hit Enter when you're done. You'll be prompted to retype the password. Do so and hit Enter again.

Now the password should be reset. Type:
exit

to return to the recovery menu.

After you get back to the recovery menu, select resume normal boot, and use Ubuntu as you normally would—only this time, you actually know the password! "

Thanks Enrico "eNry" Carafa, that solved my question.