Change the Default Kali Linux Virtualbox Password
If you have just installed Kali Linux, it is important to change the default credentials. You can do this within a couple of steps by using passwd
.
What Is passwd
passwd
is a command-line utility in Linux systems, including Kali Linux, used to change a user’s password. It allows users, especially administrators, to modify their own password or reset passwords for other users, such as the root user.
Change the Default Kali Linux Virtualbox Password

Here’s a short guide on how you can change the root password using the passwd
command:
- Open the terminal.
- Type
sudo su
and enter your password to switch to the root user. - Type
passwd root
and press Enter. - Enter the new password when prompted.
- Confirm the new password.
- Password successfully changed.
- Test the new password by logging out and logging in again as root.
Remember to choose a strong and secure password.

That’s it. You have just learned how to change the default Kali Linux password.