AddUsersHowto
AddUsersHowto
Information
When Ubuntu is initially installed, you were asked information for setting up a user account. If more then one account is needed, then you will have to manually set this account up after installation. This wiki page will briefly discuss the options as well as the instructions in performing this task.
Options
There is more then one way to add a user, however this wiki page will briefly discuss the easiest and most common ways. The two ways shown are:
- Graphical
Command-line - adduser
Graphical is the easiest solution, while the command-line offers the possibilities of multiple tasks at one time.
Graphical Ubuntu
Location: System > Administration > Users and Groups attachment:AddUser1.png
Press + Add User, this will open up the User Account Editor. The minimum requirements are Username and password. For the Username, do not use spaces, and do use ASCII characters. On the User privileges tab, add privileges that the new user will have access to, such as use audio devices. attachment:AddUser2.png
Graphical Kubuntu
Location: Kmenu > System Settings > Users & Groups attachment:AddUser3.png
Press Administrator Mode, this will pop up a password box. Enter your password. Press _N_ew..., this will open up the User Account - KDE Control Module. The minimum requirements are Username and password. For the Username, do not use spaces, and do use ASCII characters. On the Secondary Groups area, press _S_elect..., and add priviledges that the new user will have access to. attachment:AddUser4.png
Command-line
To add a user you must use the sudo command (for an explanation of what that means, see the RootSudo page). Here are the commands:
To add a user. NOTE: do not use the useradd command.
sudo adduser <username>
To see the options for adding a user try the man command.
man adduser
You might also wish to create a new group for your users.
sudo addgroup <groupname>
To add a new user to a existing group you would do this:
sudo adduser <username> audio
To add an existing user to an existing group you can use the same command:
sudo adduser <username> <groupname>