This brief tutorial shows students and new users how to easily add new user accounts to Ubuntu systems. Whether you’re a system administrator managing a server or a home user, adding new users to Ubuntu is something you might want to learn how.
By default after installing Ubuntu, the account created during the installation is the primary user of the systems. The root user account is disabled. No other user accounts are active.. so in order to provide unique access to users, you must create accounts for them.
There are many ways to create accounts on Ubuntu, but the easiest is using the methods below
To create an account on Ubuntu systems using the command line terminal, follow the guide below:
Step 1: Creating Ubuntu Accounts via Terminal
The commands below allow you to create a new user account on a Ubuntu server or desktop. For example, to add a new user to the server called octopus, run the commands below.
sudo adduser octopus
You’ll be prompted to create a new UNIX password for the account..
Adding user `octopus' ... Adding new group `octopus' (1001) ... Adding new user `octopus' (1001) with group `octopus' ... Creating home directory `/home/octopus' ... Copying files from `/etc/skel' ... Enter new UNIX password:
After typing and confirming a new password for the account, you’ll get additional prompts to enter some details about the account, like the user Full Name and others.
passwd: password updated successfully Changing the user information for octopus Enter the new value, or press ENTER for the default Full Name : Octopus Room Number : 101 Work Phone : 2192887223 Home Phone : 2988444422 Other : Is the information correct? [Y/n]
If the information you entered is correct, type Y
Now that the user account is created, run the command below if you’d like to give the account root access or make the account an administrator. Again, the default root account is disabled.. so if you’d like to give an account root access, you must add the account to the root user group.
sudo usermod -G sudo octopus
That’s how one creates an account on Ubuntu via the command line terminal.
Step 2: Creating User Account via Desktop GUI
If you are using a Ubuntu desktop computer, the same account can be created above using the steps below
Logon to the desktop and select the Menu at top right corner and select Settings
Then scroll down to Details
And select User. Then click Unlock at the top right to allow for you to edit or create new user accounts..
The Unlock button becomes Add Users.. To add new user, click Add Users.. and provide the user account details.
Then provide the user Full Name as well as the user and password. When you’re done adding the account details, click Add as shown Above.
That’s it! This is how one adds users to Ubuntu Desktop.
You might also like the post below:
- Install WordPress on Ubuntu 16.10/17.04 with Apache2, PHP and MariaDB
- Install Ubuntu 17.04 on VMware Workstation
- Upgrading Ubuntu 16.10 to 17.04
- Install WordPress on Ubuntu 17.04 with Nginx, MariaDB and PHP Support
- Installing VirtualBox on Ubuntu 17.04
- Installing VMware Workstation Pro on Ubuntu 17.04
- Installing Ubuntu 17.04 (Zesty Zapus) Minimal Server
- Installing WordPress 4.8 on Ubuntu 17.04 Server
- How to Increase WordPress Upload File Size