How to Add Users in Linux From Cinnamon Desktop

Adding new Cinnamon Linux users is a couple of clicks away

Five business people all looking at a laptop computer on a desk

Pixabay

 

Linux is a multi-user environment. That means you can have more than one user on a single computer, each with their own protected directory to house their files. Each user can log into their desktop, configure it how they see fit, create and save files, and browse the web: All without disturbing other users' information (and without other users seeing their data).

So if you have a household with a shared computer that everyone needs to use, Linux makes for an ideal environment.

How you create new users will depend on which desktop environment is installed on the computer. Let’s find out how this is done on the Cinnamon desktop (which is the default for Linux Mint), using both the GUI and the command line.

How We Tested

For this demonstration, we used Linux Mint 19 running Cinnamon 4.0.10. The version of Cinnamon should not change the process.

The GUI Method

We’ll first do this the easy way. To add a new user with the GUI tool, follow these steps:

  1. Click the Cinnamon desktop menu.

    Screenshot of the Cinnamon desktop menu button.
  2. Click Settings.

    Screenshot of the Settings launcher in the Cinnamon menu.
  3. In the Settings window, scroll down and click Users and Groups.

    Screeshot of the Users & Groups entry.
  4. When prompted, type your user password and click Authenticate.

    Screenshot of the Authenticate button.
  5. Click Add.

    Screenshot of the Add button.
  6. Select either Standard or Administrator from the Account Type drop-down.

    Screenshot of the Account Type drop-down.
  7. Type a Full Name for the user.

    Screenshot of the Full Name text entry window.
  8. Type a username for the user. This is the name the user will use to log into the system.

    Screenshot of the Username text entry window.
  9. Click Add.

At this point you have created a new user. However, the new user doesn’t have a password. In order for that new user to log into their account, it must be set. Here’s how:

  1. From the Users and Groups window select the newly created user.

    Screenshot of selecting the new account.
  2. Click No password set.

    Screenshot of the New password set button.
  3. Type and verify a new password.

    Screenshot of the password entry text areas.
  4. Click Change.

That’s it. You’ve successfully created a new user that can log into the Linux machine. Log out of your current account and log in as that new user to make sure all is well.

The Command Line Method

We’re going to do the same thing now, only this time via the command line. You’ll be surprised at how simple this task is, even from the command line. Here’s how you add a new user with this method:

  1. Click on the terminal launcher in the panel.

    Screenshot of the terminal launcher.
  2. In the terminal window, issue the command

    sudo adduser USERNAME

    where USERNAME is the name of the new user to be added and type your own superuser (sudo)q password.

  3. When prompted, enter and verify a password for the new user and then answer the questions. These questions are optional, but you should at minimum fill out the Full Name option.

    Screenshot of the adduser command in action.
  4. Type Y to save the information.

Once again, you’ve added a new user to your Linux machine. You can log out of the current user and log into the newly created user.