It is in good practice to always change the default log in information given to you by the manufacturer. The default username and password for the raspberry pi is Pi (username) and raspberry (password). If you plan on doing simple projects around the house and never have internet connectivity then it might not be a big deal. But then again why did you get a pi in the first place?
Once you connect your pi to the internet you open your pi, network, and connected computers to the possibility of being hacked. While changing the default password wont save your network 100% from attackers it will however save yourself from the “kiddies” trying to get in. If you have not already set up your computer to log in via SSH you might want to learn how to log into your raspberry pi from your windows pc via SSH.
How to actually change the password.
Once logged in you will want to connect to the configuration part of your raspberry pi. On the SSH window you will want to do the following:
- sudo raspi-config | This will take you to the original raspberry pi configuration menu.
- Change User Password | This menu is self explanitory. This is the menu you will use to change your users password.
- Screen will appear telling you that you will be prompted to change your password.
- Screen will return to its black and white state (default) and ask you to “Enter new UNIX password:“. You will have to type the password in twice without any indication on how many characters have been entered. Be mindful to check your caps lock and which keys you’re pressing in.