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.
- Reset Your Forgotten Password in Ubuntu 12.04
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)
Then scroll down to root and press Enter.
Next, run the commands below to remount root
mount -rw -o remount /
Finally, run the commands below to create / change your password.
Exit and login with your new password.