Reset the forgotten password in Ubuntu
This post was written by admin on September 8, 2009
Posted Under: Security
Posted Under: Security
If you have forgotten your ubuntu password,please don’t worry,it incredibly easy to reset your password.
Just reboot your computer and select the recovery mode,which is usually the second line in Grub menu.
Then,you’ll see the Recovery Menu,choose “root Drop to root shell prompt” in this menu.
Now,you can use following command to change password.
cd /home
passwd username
My username is wraith,so I use:
passwd wraith
then,enter the new password and confirm.
Go back to Recovery Menu by this command,and choose “resume resume normal boot”
exit
Now,you can login with the new password.
Related posts:
- How to reset forgotten user/boot password in Ubuntu
- Ask for a password to access recovery mode root console
- Execute sudo command without asking for password
- How to Login Without Password in Ubuntu 11.10
- Find a Forgotten Password saved in Firefox
Tags: Security

Reader Comments
What happen if somebody know this tip and use it to hack my account? How can I deal with that?
[Reply]
Is it possible to reset password remotely ?
I had added my ssh key as authorized key on that server, So I able to login without password but I can’t run command which required root privilege(sudo command).
[Reply]