How to reset administrative password in ubuntu
- start machine.
After the BIOS screen appears, press down theleft shiftkey to enterGRUB. This step can be quite finicky, and you may need to repeat it several times until you get the timing just right. - Select the Advance Option for ubuntu
- .

- In Grub Version list, scroll down to the top
Recovery modeline, and pressEnter.
If the Linux kernel image had been upgraded on the machine before, you would see multiplerecover modelines on the screen. Select therecovery modeline that corresponds to the latest Linux image(that is nearest to the top). - In the
Recovery Menuscreen click on root'Drop to root shell prompt'. - Press
Enteragain.
If you have setroota password, you would be prompted to enter it at this step. Otherwise, just pressEnterto continue. - Remount filesystem.
After all the hard work, you are now at theroot shell prompt. The filesystem at this point is read-only. Remount the file system to add write permission.$ mount -o rw,remount / - Reset admin user password now.
Use thepasswdcommand to change the password for the admin user.$ passwd <username>PressControl-Dto return to therecovery menu. - Click on resume.
- Exit recovery.
PressOKto exit recovery mode and continue booting.
Here you Go.
Password resetted successfully.





No comments:
Post a Comment