11

I'm trying to change the password on my RPi 3. I've tried sudo passwd and it gets me to the screen where I can enter a new password, but then the terminal stops letting me type. Does anyone know how to work around this? I've also tried sudo raspi-config but that still doesn't do anything

Jacobm001
  • 11,898
  • 7
  • 46
  • 56
user67265
  • 119
  • 1
  • 1
  • 3

2 Answers2

11

Linux doesn't display anything when you type your password. no asterisks, no dots, no nothing.

After entering passwd on the command line and pressing enter type your password at the command prompt, nothing will display but that's ok.

Raspberry pi document say:

Enter passwd on the command line and press Enter. You'll be prompted to enter your current password to authenticate, and then asked for a new password. Press Enter on completion and you'll be asked to confirm it. Note that no characters will be displayed while entering your password. Once you've correctly confirmed your password, you'll be shown a success message (passwd: password updated successfully), and the new password will apply immediately.

rsp
  • 632
  • 1
  • 6
  • 16
9

Do NOT type sudo passwd (unless you are trying to change the password of another user).

The command to change your password is passwd

Milliways
  • 59,890
  • 31
  • 101
  • 209
  • 1
    If you do not remember the password and are trying to ssh into the pi, sometimes you need to use sudo passwd pi, to force changing the password without authenticating before hand with a password you do not know. – Joe Sep 06 '18 at 14:20