I just installed my brand new PI using the Wheezy image on Raspberry's site. Problem is it has such a strict password policy I cannot set it to anything less than 6 characters and even then it must have special characters.

How do I stop this strict password policy? I WANT a weak password so please no responses as to why this is a bad idea, closed network, doesn't matter.

  • This was very Googleable - don't forget that it's just Debian. Commented May 7, 2013 at 20:53
  • Why was this down voted? Commented May 8, 2013 at 2:10
  • I tried googling for 30 minutes before hand, couldn't find anyone in Debian that had that problem.
    – jfreak53
    Commented May 8, 2013 at 13:52

1 Answer 1


Do the password change while super user

sudo -s
passwd <user>

Type and retype the password at the prompt and you are done (You need to substitute <user> with the actual name of the user you want to change the password). Once done, go back to user level with


@Asclepius suggests a shorter solution with the oneliner sudo passwd <user>, you will have to insert your user password (unless your account is listed as NOPASSWD in the sudoers file) and then type and retype the password for the user. No need to exit as you will be taken back to your ususal privileges as soon the command is executed.

  • How about sudo passwd user?
    – Asclepius
    Commented May 13, 2022 at 1:05
  • @Asclepius It is a valid alternative, and I use it when I've similar tasks but, you have to type your password and then the user password. I think that elevate to superuser and then change the password is easier for a newbie than doing it in a single command. I will amend the response
    – Eineki
    Commented May 17, 2022 at 7:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.