Blog by Community Members
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

Reboot your Kali Linux system into the GRUB boot menu. Highlight the default boot menu you are usually booting from and press the e key in order to edit this boot menu entry.

Step2: Editing GRUB menu

Once you entered the GRUB menu edit mode you will be presented with the following window. Scroll down until you hit the line starting with keyword Linux.

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 šŸ™‚

Leave comment

Your email address will not be published. Required fields are marked with *.