Changing Your Password
By default, the password for a Raspberry Pi will be raspberry. You want to change this.
You can use the raspi-config tool to change your password. Run the raspi_config utility by issuing the following command in a Terminal (see Recipe 3.2):
$ sudo raspi-config |
Then select the change_pass option in the menu and follow the prompts shown in Figure 1-13.
Changing your password is one occasion where you do not have to restart your Raspberry Pi for the changes to take effect.
Discussion
You can also change the password from a Terminal session simply by using the passwd command as follows:
$ sudo passwd Changing password for pi. (current) UNIX password: Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully |
See Also
You can find much more information about the raspi-config tool at http://elinux.org/RPi_raspi-config.