Change the Default Kali Linux Virtualbox Password

Estimated read time 1 min read

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

Password updated successfully

Here’s a short guide on how you can change the root password using the passwd command:

  1. Open the terminal.
  2. Type sudo su and enter your password to switch to the root user.
  3. Type passwd root and press Enter.
  4. Enter the new password when prompted.
  5. Confirm the new password.
  6. Password successfully changed.
  7. Test the new password by logging out and logging in again as root.

Remember to choose a strong and secure password.

Changing the Kali Linux Virtualbox default password with passwd
Changing the Kali Linux Virtualbox default password with passwd

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

Reza Rafati https://cyberwarzone.com

Reza Rafati, based in the Netherlands, is the founder of Cyberwarzone.com. An industry professional providing insightful commentary on infosec, cybercrime, cyberwar, and threat intelligence, Reza dedicates his work to bolster digital defenses and promote cyber awareness.

You May Also Like

More From Author