Forgot Kali Linux password – If you looking to reset Kali Linux Password then this is the right place to find out that How to reset the root password in Kali Linux and here you can also learn to reset the kali Linux username and password.
Are you a programmer or use Kali Linux but now you are unable to use your Kali Linux operating system because of forgetting the password, and now you want to reset your Kali Linux password then stay in tune with this article.
So Let’s Get Started !!
How to Reset Password in Kali Linux
Sometimes you enter the Username and Password on the login screen in your Kali Linux operating system but you cannot log in, because you have probably forgotten your Kali Linux password.
But if you want to reset your Kali Linux password then Follow the steps mentioned so that you can reset your forgotten password of black Linux easily.
Step 1: Boot into GRUB Menu
If you have forgotten the password and when you are not logged in repeatedly, you do not have the option of Forgotten password, then you have to go to the GRUB menu and boot your Kali Linux.
- So Restart your Kali Linux to go to the GRUB menu.
- Then press E Key at the time of boot of Kali Linux.
- Then you will get to the GRUB menu.
After reaching the GRUB menu, you have to make some changes in the code written in it.
- First, Find Linux written in this code.
- Then find this code in the Next line –
os quiet splash
- Then you remove this code and replace it with this code –
rw initrd=install/gtk/initrd.gz quiet splash init=/bin/bash
- And Press ctrl + x to goto on root partition
Step 3: How to Change Password in Kali Linux using terminal
After reaching the root partition, you have to use some commands here so that you can reset your Kali Linux password easily.
- Type command –
- In this command root is my username
- replace root to your username of Kali Linux
- And after this command, your Kali Linux password will be reset.
- Now type your new password
- After updating the new password, type this command –
After this command, press Enter key 2 times, then your Kali Linux operating system will start booting again and after boot completes type your new password, then you will successfully login.
- Linux vs Windows – Which is Best for you
- Debian Vs Ubuntu – Which is Best for You?
- Difference Between – Kali Linux vs Blackarch Linux
- Garuda Linux Vs Kali Linux Difference
If you have liked this article and liked it, then you can share it with friends and family so that they do not ever get such a problem.
If you have any problem in any part of this article, or you want any more information related to the computer, then tell me in the comment box, I will surely reply to you.
Thank You !!