Reset the forgotten password in Ubuntu

This post was written by admin on September 8, 2009
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:

  1. How to reset forgotten user/boot password in Ubuntu
  2. Ask for a password to access recovery mode root console
  3. Execute sudo command without asking for password
  4. How to Login Without Password in Ubuntu 11.10
  5. Find a Forgotten Password saved in Firefox

    Tags:

    Reader Comments

    What happen if somebody know this tip and use it to hack my account? How can I deal with that?

    [Reply]

    #1 
    Written By Duc Hoang Anh on July 11th, 2010 @ 6:12 am

    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]

    #2 
    Written By Avin Tokade on October 8th, 2011 @ 12:13 am

    Trackbacks

    Add a Comment

    required, use real name
    required, will not be published
    optional, your blog address