How To

How to Reset Root Password on Kali Linux 2022.3

Learn the simplest method to Reset Root Password on Kali Linux

There are people who have forgotten the password of Kali Linux and who want to reset the forgotten password then this tutorial is going to help. If you are one of those people who is suffering from the problem of resetting the forgotten password of Kali Linux then follow the method shown below. Today’s guide is all about How to Reset Root Password on Kali Linux 2022.3

Questions arise about that is it possible to reset the forgotten password of Kali Linux. Of course, you can reset it without using any kind of third-party software. For people who might forget the password of the basic user then it has a quick and easy way and you will use any kind of external software. And when you have forgotten the root password then for that you have to configure the GRUB bootloader to boot into the bash shell. So, if you are finding a complete guide and step-by-step and scroll down.

Steps to Reset Root Password on Kali Linux

Make sure to follow the all steps in order to Reset Root Password on Kali Linux 2022.3

1. Turn On and Off Or Restart Kali Linux Machine

Before we start to start the procedure you have to restart your Kali Linux machine and look if your machine is powered off then turn it on because we are going to edit the GRUB Bootloader.

2. Access GRUB Bootloader Options

Be quick that while your machine is restarting then press any arrow button from the keyboard which will prevent Kali Linux from being boot.

Now, highlight the Kali Linux.

Once you have highlighted then simply press and hold from a keyboard after that you will get access to GRUB Bootloader options.

Reset Forgotten Password of Kali Linux

Here you have to select Advanced Options For Kali GNU/Linux.

3. Edit GRUB Options

You will get two lines that start with Linux and you have to go for that line using the arrow buttons from the keyboard.

Go to the line where Quite Splash is written after that follow the below instructions.

  1. First, you should change the ro into rw.
  2. Once you replace the letter then copy and paste or type init=/bin/bash
  3. Finally, when you successfully made the changes then simply press and hold Ctrl + X to boot the Kali Linux machine.

Reset Forgotten Password of Kali Linux

Note: If you are using the old version of Kali Linux then apart from typing rw then the command should look like this initrd=/install/gtk/initrd.gz init=/bin/bash, or maybe similar to this rw initrd=/install/gtk/initrd.gz quiet splash init=/bin/bash

Here once you pressed Ctrl + X then select Kali Linux and then go ahead by pressing Enter button.

Reset Forgotten Password of Kali Linux

4. Change Lost Kali Linux Root Password

Once your machine got booted then here you have to launch the root Terminal shell because it will help you to create a password for the root user and also make a new password for the basic user. So, do the below process as shown to you.

  1. First of all, once you open the Terminal shell then type Passwd and press Enter button.
  2. Now, you have to type the new password.
  3. And also type once that password for the non-root user.

Do you want to change the password of various users then simply mentioned below will guide you.

  1. Now, type passwd and also type the name of your account next to the passwd.
  2. Type a new password after that type that password again.

Once all things are done then copy and paste exec /sbin/init which will restart your machine after that login into your new account.

Reset Forgotten Password of Kali Linux

Conclusion

We have provided a simple and easy and easy tutorial on How to Reset Root Password on Kali Linux 2022.3. I am sure that we have given an easy guide on the tutorial and again if you encountered any type of problem during the process of resetting the forgotten password of Kali Linux. Then you can share your problem in the comment section and we will try to fix or find a solution for it. Or if you know any other way on this guide then share it with us and with our viewers.

Related Articles

Leave a Reply

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

Back to top button