Knowledge for the World

Change the password on your Raspberry Pi

Assuming you're using a Linux distribution, like Raspbian or Noobs, you can change the password on your pi with the passwd command.

In these interests [?]
  • pi
    85 Subscribers Subscribe
  • security
    3 Subscribers Subscribe
  • linux
    35 Subscribers Subscribe
1

Log in to your Raspberry Pi

To change the password you must be logged in to a shell. Assuming you're using the default username and password, open a shell and type:

ssh pi@raspberrypi

For more information see How to log in to your Raspberry Pi via SSH.

2

Use the passwd command

Now that you're logged in, you can simply type passwd to change the password for the current user.

passwd

Now you'll be prompted to enter the current password, the new password, and then retype the new password. After you follow these instructions, you're password will be changed.

Use the passwd command