How to Reset your Forgotten Root Password in Kali Linux
2019.2
How to Reset your Forgotten Root Password in Kali Linux
2019.2?
Step 1: Restart your Kali Linux, and when your computer
boots up to Grub menu, use your downward arrow key to highlight 'Advanced
Options for Kali/GNU linux', and then hit Enter key on the keyboard.
Step 2: Highlight 'Recovery Mode', and then Press 'e' key on
the keyboard.
Step 3: Now, On the Next Screen, Go to line linux and
replace 'ro' with 'rw'. Also, go to the end of the line linux and then hit
space key, and then type init=/bin/bash. Press 'f10' key (if you are using
laptop, press fn + f10 key) on the keyboard.
Step 4: Type command below to change password
passwd root
and then hit enter. Type your password, and then hit Enter.
Again, Re-type the password, and hit Enter. you will see the message, password
updated successfully.
Step 5: Now, use the command below to reboot kali linux.
reboot -f
and then, hit Enter.
Step 6: Let kali linux restart normally, and when you see
login screen, enter new password. You will be able to login with that.
It's done
Thanks for watching, please like and subscribe