How to reset forgotten password on Ubuntu/Linux Operating System.
How to reset forgotten password on Ubuntu |
In this tutorial post, we are going to reset the forgotten password on Ubuntu 20.04 LTS. This same method will also work on other Debian distro too.
All you need to restart your Ubuntu system and press/hold 'ESC' or 'Shift' key to open GNU GRUB menu. Then select Advanced option of Ubuntu . After that select 'Recovery Option' and hit 'Enter' . Now you need to select 'Root' and hit 'Enter' to get into terminal.
Below are the following commands to reset the Ubuntu password
Step1. mount -o remount,rw /Step2. ls /homeStep3. passwd <your_username>Step4. reboot
Comments
Post a Comment