Page 1 of 1

How to change default username and password in Raspberry Pi

Posted: Tue Jul 17, 2018 12:11 am
by Neo
Default username and password in Raspbian OS is pi and raspberry. To confirm it, you may run

Code: Select all

whoami
in terminal. It is recommended to change this to something different.

Type

Code: Select all

passwd
in terminal and enter current password and then new password. That's it !

Then you can make the OS to prompt for login information at startup by going to Menu -> Preferences -> Raspberry Pi Configuration and tick off Login as user pi. In next topic, I'll write how to create a new user.