Back to Posts

Raspberry Pi user setup

When first booting a Raspberry Pi the OS comes with a default super admin user and password, and since is common to all fresh setups, it’s important to change the settings for security concerns.

  1. Change password for pi user
sudo passwd pi
  1. Create a new user
sudo useradd -m username
  1. Define a password for the new user
sudo passwd username
  1. Add the new user to the sudo group

By default on Debian/Ubuntu systems, members of the group sudo are granted with sudo access. To add the user you created to the sudo group use the usermod command:

usermod -aG sudo username
Back to Posts