Howto: Reset / Break root and other user’s password in Ubuntu 12.04 & Ubutu 12.10 Linux | Grub2 | Precise Pangolin
By Following this article, You will able to reset root password or any other user’s password if you have forgot or you want to reset it any how.
In Previous GRUB, It was very easy to reset root password and other user’s password using Single User Mode but now it is bit complicated but not difficult one.
A Few days, I tried to reset root password by Old method Single User Mode and Adding “1” or “Single” or “S” to the vmlinuz boot option or Adding the same to Recovery mode but nothing helps as it requires root password to Continue.
In Grub2 If you are trying to switch to Single User Mode from Grub Menu then you must have root password as it will take you to the system maintenance mode. (CTRL + D)
Now Lets come to the point, It is bit complicated so thought to share it So it will helps to all of you to reset root password or any other user’s password if you wants to reset.
DO IT AT YOUR OWN RISK.
You can reset root or any other user’s password in Ubuntu 12.04 Precise Pangolin Linux and For GRUB2. This method will only work if Grub2 is not protected with password or any other security.
Do the following procedure to Reset :-
1) Restart Machine
2) HOLD Shift Button ( You will get message “GRUB Loading“)
3) Select the Kernel ( Don’t select Recovery Mode)
4) Press the e key to edit the entry
5) Select the line starting with the word “linux”
6) Append the init=/bin/bash to the end of the linux line.
7) Now Press F10 to boot with provided option.
Now You need to mount File System ( / ) into Read-Write Mode
8) mount -o remount,rw /
Now execute passwd command to Reset root password.
9) For root User passwd
Other User passwd <user-name>
If you like this article then Please Click Google +1 Button and Show Your Support. Your Support will encourage me to write more articles.
All Linux User’s Blog Mobile Applications :- http://www.tejasbarot.com/download-mobile-apps/
Enjoy Password Breaking 🙂 Enjoy Ubuntu 12.04 🙂 Enjoy Linux 🙂 Enjoy Open Source 🙂