Thursday, November 16, 2023
Kali LinuxLinux

How To Reset Forgotten Kali Linux Root Password

In this article, we will see ‘How To Reset Forgotten Kali Linux Root Password. To reset the Kali Linux root password, we will use the Advanced Options. Kali Linux is mostly used for Ethical Hackers and Security researchers. Kali Linux operating system already has 600 power hacking tools installed. You can install Kali Linux by creating a virtual machine on VMware.

Follow the below steps to Reset Forgotten Kali Linux Root Password:

Use these tricks when you forget your Kali Linux password. In the following snap, you can see the root password and display it incorrectly.

How To Reset Forgotten Kali Linux Root Password
Forgot Kali Linux Root Password

Now, according to the snapshot, follow the steps and Reset Forgotten Linux Root Password.

First, restart the desktop of Kali Linux. After restarting Kali Linux, in the GNU GRUB window, select the ‘Advanced options for Kali GNU/Linux‘ option and press Enter.

How To Reset Forgotten Kali Linux Root Password
Advanced options for Kali GNU/Linux

Now press E for Password Recovery and select the second option of the recovery mode.

How To Reset Forgotten Kali Linux Root Password
recovery mode

Also Read- Step By Step Change Root Password In Kali Linux.

Use the arrow keys to replace ro with rw and type the command ‘init=/bin/bash‘ next to the command ‘initrd=/install/gtk/initrd.gz‘.

Check the snapshot below and press F10. After pressing F10 the system will restart.

How To Reset Forgotten Kali Linux Root Password
Change Bash Commands

After restarting the system, type the command ‘passwd root‘ in the command and press Enter. Enter the new password in front of the new UNIX password.

Once the same password is entered, a message will be sent ‘password updated successfully‘ followed by the root password of Kali Linux.

How To Reset Forgotten Kali Linux Root Password
Reset Root Password

Now the system will restart and then login by entering the new root password. That’s all, In this article, we have explained How To Reset Forgotten (Kali Linux) Root Password. I hope you enjoy this article. If you like this article, then just share it. If you have any questions about this article, please comment.

Share this:

ITSmarttricks Team

This is Mangesh Dhulap the Founder and Editor of IT SMART TRICKS have 6+ years of Industrial Experience. We expect from our visitors to like, share, and comment on our posts.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.