Resetting kali linux root password.
Forgot your Kali Linux root password?
Worry not, here’s a tip for you to change your Kali Linux password without log in credentials 😉
Note: I am using Kali 2020.2 version for this article.
So, power on your Kali machine follow the steps.
Step1: Boot into Grub Menu
Step2: Editing GRUB menu
Step3: Locate the ro in the line
Step4: Replace ro with rw and write init=/bin/bash just like shown below.
Step5: Now press
ctrl+x and it will take you to bash as the image attached below.
Step6: After entering into bash write
passwd command and press enter and type you password twice to confirm, and then it will appear like image attached below.
Now restart your system and login as root with your entered password.
Thank you for your time hope you like this article 🙂