linux Hacking

Introducing Kali Linux for Beginners

A basic guide for those using Kali Linux for the first time. Explains how to set default passwords and change keyboard layout.

Shou Arisaka
2 min read
Oct 12, 2025

Kali Linux is a Linux distribution specialized for security testing and penetration testing. This guide covers the basics you should know when using it for the first time.

Default Password

After installing Kali Linux, you may find the system locked or be asked to enter a password for certain operations. In such cases, knowing the default password is useful.

The default password is as follows:

  • Username: root
  • Password: toor

Note: Keeping the default password poses a high security risk, so it is recommended to change it promptly after installation.

Changing Keyboard Layout to Japanese

The default keyboard layout in Kali Linux is English (US layout). If you’re using a Japanese (JIS layout) keyboard, you can change the layout with the following command.

Changing from US Layout to Japanese Layout

To change to Japanese layout, use the following command:

setxkbmap jp

Changing Back from Japanese Layout to US Layout

If you want to change back to US layout, use the following command:

setxkbmap us

Some Japanese keyboards have a function to switch between US layout mode and Japanese layout mode, which may allow for smoother work in some cases.

How to Change Password

For security reasons, change the default password as soon as possible. Here’s how:

  1. Open a terminal.
  2. Enter the passwd command.
  3. Enter the current password (toor) and press Enter.
  4. Enter a new password and press Enter again.
  5. Enter the new password again for confirmation.
passwd

Your password has now been changed.

Share this article

Shou Arisaka Oct 12, 2025

🔗 Copy Links