Recover Lost Passwords in Ubuntu 12.04 (Recovery Mode)

This brief tutorial is going to show you how to easily reset your forgotten password in Ubuntu 12.04 Precise Pangolin.

Let’s face it, some of us do forget our passwords. Unlike Windows, resetting your forgotten password in Ubuntu 12.04 isn’t too difficult. All you have to do is login to the recovery mode at your boot prompt and reset it.

This short tutorial is going to show you how.

Objectives:

  • Reset Your Forgotten Password in Ubuntu 12.04
  • Enjoy!

To get started, power on your Ubuntu computer while holding down the Shift Key on your keyboard. At the boot menu (GRUB) select (Recovery Mode)

 

recover_password_precise

 

Then scroll down to root and press Enter.

 

recover_password_precise_1

 

Next, run the commands below to remount root

mount -rw -o remount /

 

recover_password_precise_2

 

Finally, run the commands below to create / change your password.

passwd username

 

recover_password_precise_3

 

Exit and login with your new password.

 

Enjoy!

Please share if you like it on:



21 Comments

  1. I tried the above process in ubuntu12.04 to reset password for user/admin account after holding the “shift” key i am unable to see the boot menu (GRUB).. and it showing the input not supported message and going to ubuntu… user’s login…. but it’s working on ubuntu 13.04 os… what is the problem..? can u just help me out… pls…..

  2. hi folks, password authentication fails even after successful password reset. Have changed password in root I am informed password reset successful but when I boot back to Ubuntu and try to update .. I get Password authentication failed

Leave a Reply

Your email address will not be published. Required fields are marked *