fbpx

How to Reset Kali Linux Root Password?

Forgot the Kali Linux root password? Stress not! This tutorial discusses the steps to reset Kali Linux system password. Follow the steps, and you will get it done within minutes.

Boot Into GRUB menu

Start/restart the system -> Press ‘e’ to modify the boot menu.

Boot Into GRUB menu

Edit GRUB menu

Use navigational arrows to scroll down to the end of the menu -> Look for the keyword ‘Linux’ on the left side of the menu -> Replace ‘ro’ with ‘rw’ and ‘quite splash’ with ‘init=/bin/bash.’

Edit GRUB menu

Check RW Permissions on Root Partition

Press ‘clt+x’ to go into command-line mode -> input ‘mount’ to ensure the RW permission is mounted to the root partition.

Reset Kali Root Password

Type ‘passwd’ -> Prompt will appear to enter the new password, input that -> Verify the new password -> Password updated successfully.

Reboot System

Reboot the system using the following command ‘exec /sbin/init.’

Reboot System

That’s it. This is how you can reset root account password of your Kali Linux machine.

Sana Qazi
Sana Qazi is a technical writer specialized in Information Security. She enjoys writing about technology and reading multiple genres like suspense. When not writing, she can be found traveling, dinning out, watching series etc. She manages her medium blog as well.

Most Popular

Android Tips and Tricks for Getting the Most from Your Phone

Gone are the days when phones were only used to make phone calls and send text messages; nowadays, smartphones are more akin to a...

What Proxies Are For

When you cannot access certain sites or hide your identity, you need a tool for that. For example, the USA proxies are in demand...

Mobile Device Safety: Keeping your phone safe from intrusion

You might have heard that the iPhone is almost completely impossible to hack or that Samsung devices have some of the best firewalls in...

How to Detect Phishing Mails and Websites

Not long ago, phishing websites and mails looked quite unprofessional, they were peppered with spelling mistakes and had a distrustful design. Nowadays the digital...