/home/bill/System_maintenance/1_add a user to pi.txt www.BillHowell.ca 07Dec2017 initial ********************* 07Dec2017 add user bill Linux users - Raspberry Pi Documentation https://www.raspberrypi.org/documentation/linux/usage/users.md Linux users. User management in Raspbian is done on the command line. The default user is pi , and the password is raspberry . You can add users and change each user's password. https://raspberrypi.stackexchange.com/questions/7133/how-to-change-user-pi-sudo-permissions-how-to-add-other-accounts-with-different edited Apr 21 '13 at 21:01, answered Apr 21 '13 at 20:24 orithena ... So, I hope this small recipe here is what you need: $ sudo adduser admin This will create a user "admin", ask for a password, create his home directory, etc. $ sudo adduser admin sudo $ sudo adduser admin adm This will put the "admin" user into the usergroups "sudo" and "adm". And since permissions are managed in Linux by adding users to usergroups, this gives the "admin" user all privileges and permissions he needs. There is a line in /etc/sudoers that allows any user that is in the usergroup "sudo" to execute any command as root; and this privilege is what we need for an admin user (adding him to "adm" allows him to read some log files in /var/log without using sudo and a few other things). You still need to use sudo when you're logged in as admin -- but now sudo asks again and again for the admin's password whenever you did not use sudo for about five minutes. Now log off and log on as the user "admin". ... >> I used $ sudo adduser bill sudo I also needed to give bill admin privileges $ sudo ?something to /etc/sudoers? ??? $ sudo Thunderbird - add bill to group netdev (wifi via /etc/dhcpcd.conf) +-----+ https://www.cyberciti.biz/faq/howto-linux-add-user-to-group/ usermod example – Add a existing user to existing group Add existing user tony to ftp supplementary/secondary group with the usermod command using the -a option ~ i.e. add the user to the supplemental group(s). Use only with -G option: # usermod -a -G ftp tony In this example, change tony user’s primary group to www, enter: # usermod -g www tony >> I used $ sudo usermod -a -G sudo bill +-----+ Default boot user https://raspberrypi.stackexchange.com/questions/12538/boot-into-the-gui-after-changing-default-user edited May 25 '15 at 16:17, Ghanima answered Dec 28 '13 at 11:16, Emanuele You can manually modify the raspi-config script as follows. Let's presume we're using the username "bob". sudo nano /usr/bin/raspi-config then search for do_boot_behaviour() {...} Under that, there's a line where we will replace the "-u pi" with "-u bob", leaving the rest of the line unchanged: if id -u pi > /dev/null 2>&1; then Next edit the line: sed /etc/lightdm/lightdm.conf -i -e "s/^#autologin-user=.*/autologin-user=pi/" By changing autologin-user=pi to be autologin-user=bob If you want a pretty menu and also error when it occurs, edit these lines: whiptail --msgbox "The pi user has been removed, can't set up boot to desktop" 20 60 2 "Desktop" "Log in as user 'pi' at the graphical desktop" \ Again, replacing "pi" with "bob", or your username of choice. Now the only thing left is enter raspi-config: sudo raspi-config Select the third option: 3 Enable Boot to Desktop/Scratch And then select the second: Desktop Log in as user 'bob' at the graphical desktop This way the configuration files are written (crucial) and you are ready to automatically boot into the GUI # enddoc