Adding New Users to Ubuntu 17.04 | 17.10

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

ubuntu create user accounts

Then scroll down to Details

ubuntu create user account desktop

And select User. Then click Unlock at the top right to allow for you to edit or create new user accounts..

ubuntu 17.10 user accounts

The Unlock button becomes Add Users..  To add new user, click Add Users.. and provide the user account details.

create user accounts on ubuntu

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.

Enjoy!

You might also like the post below:

Reset MariaDB Root Password on Ubuntu 17.04 / 17.10

4 Replies to “Adding New Users to Ubuntu 17.04 | 17.10

  1. hello! I forgot pasword of administrator user.how can i do to change this password. i’m sorry because i’m bad at english.

  2. I’m trying to add my ubuntu 17.10 to my AD in Windows2008R2 server. It’s for a class project. Can someone help me?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.