How to reset forgotten password on Ubuntu/Linux Operating System.

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 /home
Step3. passwd <your_username>
Step4. reboot

Comments

Popular posts from this blog

Failed to establish the VPN connection. This may be caused by a mismatch in the TLS version.

How to install Mysql 8.0.29 on Ubuntu 22.04 LTS | vetechno

To make SSL VPN connection work, please turn off IE security configuration | vetechno