The default Raspbian SD card image configures a default user account called ‘pi’ with a password of ‘raspberry’. Every device using this image will therefore have the same username and password combination. This is great for quickly getting starting but isn’t very good practice from a security point of view.
You should therefore consider changing the default password as soon as possible. It’s easy to do and only takes a minute. Here are the simple steps you need to follow :
- From a command line prompt type passwd followed by
- the Enter key.
- Enter the current password followed by the Enter key.
- Enter the new password followed by the Enter key.
- Re-enter the new password followed by the Enter key.
- Your password has now been changed.
And here’s another hack if you are connected into your Raspberry Pi via the Adafruit WebIDE — the terminal access through the WebIDE has the ability to trigger the
sudo passwd command. If you are foolish (like me) and select tricky passwords for yourself when setting up a Pi that you don’t write down, you can reset the password and this time write it down.
Each Friday is PiDay here at Adafruit, be sure to check out our posts, tutorials and new Raspberry Pi related products. Have you tried the new “Adafruit Raspberry Pi Educational Linux Distro” ? It’s our tweaked distribution for teaching electronics using the Raspberry Pi. But wait, there’s more! Try our new Raspberry Pi WebIDE! The easiest way to learn programming on a Raspberry Pi.
Want a FREE RASPBERRY PI? All orders over $350 get a FREE Raspberry Pi Model B with 512MB RAM!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — How Intel Makes a Chip
Wearables — Go magnetic
Electronics — LED colors: what they tell you
Biohacking — Brainding – Circuit Bending Using an EEG
No comments yet.
Sorry, the comment form is closed at this time.