Note: Because this course is an ongoing series, viewers will not receive a certificate of completion.
Skill Level Intermediate
- [Instructor] Admin, pi, password, raspberry. This is the default username and password for every Raspberry Pi. That isn't a problem if your Raspberry Pi isn't connected to the internet, doesn't control any electronics, and is regularly reformatted, but when in doubt, it's best to change the password and username. And it's easy to do! So, why not? Hi, I'm Mark Niemann-Ross, and welcome to this week's edition of Raspberry Pi Weekly. Every week, we explore the Raspberry Pi, and share useful tips. To change your password, open raspi-config. Start up the Raspberry Menu in the upper-left hand corner, go to Preferences, and Raspberry Pi Configuration. The System tab starts with the password change button. Enter a new password. Confirm it. And you're done. But there are a few things you'll want to know about what you've done. First, you changed the password for user pi. You can confirm this by opening up a terminal window, you'll see something like pi and raspberry pi colon. You can also type in whoami, which will return your username. This is the account you have changed the password for. If you're not logged in as pi, there's something wrong. The easiest way to fix this is to simply reformat the SD card, and restart with default settings. If you do restarts online, you'll also find suggestions to delete the pi account. Unless you're an advanced user, with knowledge of Linux Groups, this is a bad idea. The pi user is a member of many other groups, and is required for some Linux functions, removing the pi account will cause some functions to stop working. Now, as to legal characters for a password, there isn't clear guidance. But it appears that any characters can be used in a password string, however, it's obviously a bad idea to use characters such as tab or return. Thanks for joining me for this episode of Raspberry Pi Weekly, be sure to join the LinkedIn group, and check out previous episodes on LinkedIn Learning. I'll see you next week, with more Raspberry Pi adventures.