Raspberry Pi: Default Password & How To Change

Most of the operating systems for Raspberry Pi have default password for accessing RPi using SSH or VNC.

In Raspbian, for example, the default username is pi and the default password is raspbian, but this is not a standard for the most of the other distributions.

Below you will find a table with default logins and default passwords for the most popular RPi’s distributions.

Also i will show how to change a password in Raspberry Pi for the current user or for any other user, including root.

Raspberry Pi – Default Login & Password

This table contains default logins and passwords for the most popular Raspberry Pi’s distributions.

RPi Distribution Login Password
Arch Linux ARM root root
Debian pi raspberry
DietPi root dietpi
Kali Linux root toor
Lakka Linux root root
LibreELEC root libreelec
OpenELEC root openelec
OSMC osmc osmc
QtonPi root rootme
Raspbian pi raspberry
RasPlex pi rasplex
Retropie pi raspberry
ROKOS rokos rokos
Ubuntu Server ubuntu ubuntu

Contribution Is Welcomed: If any default username or password from the table above are not correct and you are getting “Permission denied, please try again” from SSH or just some good RPi’s distribution is missing – please, leave a comment below this post.

Change Raspberry Pi’s Password

SSH is enabled and the default password for the ‘pi’ user has not been changed.
This is a security risk – please login as the ‘pi’ user and type ‘passwd’ to set a new password.

To change a password of the current user in Raspberry Pi, execute the passwd command:

pi@raspberrypi:~ $ passwd
Changing password for pi.
Current password: 
New password: 
Retype new password: 
passwd: password updated successfully

If you don’t know the current password or you want to change a password of another user, you can run the passwd command, as follows:

$ sudo passwd <USERNAME>

For example, to change root password in Raspberry Pi, execute:

pi@raspberrypi:~ $ sudo passwd root
New password: 
Retype new password: 
passwd: password updated successfully

I Cannot Enter My Password: In Linux the password does not show up in the terminal when you type it – no asterisks, no dots, no nothing but that’s OK! Just try typing in your password and hit the Enter key and see if it works.

4 Replies to “Raspberry Pi: Default Password & How To Change”

  1. I need to get into my pi3b to install a driver for a touch screen. I’ve tried to ssh in but the password doesn’t work. I’ve tried all the passwords above. Is there a way to change it? Any help would be appreciated.

  2. SSH is by default of, you need to login direct on your device and change so SSH is allowed. This can be done with raspi-config.

  3. I tried all of them and nothing works?

  4. How is it possible that kali (headless) installation will enable dhcp (good) will enable ssh (good) but you can’t login with root/toor

    You are forced yo install a monitor and keyboard which of course I don’t have.

Leave a Reply