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

Visual Studio Code Black Screen Windows 7, 8.1 and 10

How to Register and Enable Red Hat Subscription, Repositories and Updates for RHEL 8.4 Server

How to download files and folder from s3 bucket using command line