How to create a new user in Raspberry Pi
Posted: Tue Jul 17, 2018 12:21 am
Open a terminal and type . Username could be any name such as Saman, Sandun etc...
Enter password for the new user and some other general information such as full name, etc...
You may add this user to sudoers group (only if necessary) by typing in terminal.
Use the cursor keys to navigate to the line below the entry for pi and copy it exactly, but use your new username instead of pi.
Code: Select all
sudo adduser username
Enter password for the new user and some other general information such as full name, etc...
You may add this user to sudoers group (only if necessary) by typing
Code: Select all
sudo visudo
Use the cursor keys to navigate to the line below the entry for pi and copy it exactly, but use your new username instead of pi.
Code: Select all
pi ALL=(ALL) ALL
saman ALL=(ALL) ALL