Reset lost password in Ubuntu-Precise Pangolin
Thursday, 7 March 2013

Have you lost your admin password, here is a simple way for you to recover it.
This works till the latest Precise pangolin (12.04) version of Ubuntu.
- By default the first user’s account is an administrative account, so if the UI is prompting you for a password it’s probably that person’s user password. If the user doesn’t remember their password you need to reset it. To do this you need to boot into recovery mode.
- Boot up the machine, and after the BIOS screen, hold down the left Shift key.
- At the boot menu (GRUB), hit the down arrow until you select the 2nd entry from the top (the one with the recovery mode in the description) and then hit Enter.
- Using the arrow keys scroll down to either root or netroot and then hit Enter.
- You should now see a root prompt, something like this:
root @ubuntu:~#
At this stage it is possible that ,you might have setted-up a read-only filesystem. You have to remount it with write permissions:
At this stage it is possible that ,you might have setted-up a read-only filesystem. You have to remount it with write permissions:
mount -rw -o remount /
Now we can set the user’s password with the passwd command. (In this example I will use badhri as the example, you need to substitute whatever the user’s username is):
passwd badhri
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root @ubuntu:~#
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
root @ubuntu:~#
Type in what you want the new password to be at the prompt. After it’s successful reboot the machine and the user will be able to log in with their new password.
-Hope this is much useful for Linux Lovers……
( WARNING: Never try this for cracking any admin’s password).
( WARNING: Never try this for cracking any admin’s password).
Posted by
droided.dev
at
06:56
0 comments:
Subscribe to:
Post Comments (Atom)