Tuesday, May 12, 2020

Ubuntu 20.04 Reset Root Password

Video Tutorial - https://youtu.be/Os_GwMOGuQ4

 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Forgot your Ubuntu login password? Well, this quick tutorial is going to show you how to reset user (or root) password in Ubuntu 20.04 LTS.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
OS - Ubuntu 20.04 LTS  
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Press Esc Or Shift key  - Boot into Grub menu

Press -e    Add -init=/bin/bash
Press Ctrl+X or F10

1. Remount Ubuntu system with read and write permission:
mount -rw -o remount /

Check the username if you forgot it:
ls /home

3. Reset password via command:
passwd USERNAME_HERE

exec /sbin/init

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

No comments:

Post a Comment