Linux for Starters: Your Guide to Linux – Managing Users – Part 15

Last Updated on May 22, 2022

This series offers a gentle introduction to Linux for newcomers.

This article explains how to create users on your Ubuntu machine. Let’s start with a brief explanation of groups as they are central to the process.


Groups help define the permissions and access for each user account. They determine who has access to files, directories, settings, devices, and more. Finding out the groups to which a user account belongs helps give you a better understanding of that user’s access (and troubleshoot when things don’t function as expected).

In a default desktop installation, the first user on the system is considered an administrator. That user is a member of various groups. The groups command shows the groups to which a user belongs.

Open a Terminal. At the shell prompt, type the command:

$ groups

Linux for Starters - Managing Users - Groups

As you can see, the default user (in this case sde) is a member of 9 groups. The first group is specific to the user.

The remaining 8 groups grant the following privileges:

  • adm – used for system monitoring tasks. Members of this group can read many log files in /var/log, and can use xconsole;
  • cdrom – gives a user access to a CDROM drive and other optical drives;
  • sudo – users of this group can execute any command with sudo or pkexec;
  • dip – stands for “Dial-up IP”, and membership in dip allows the user to use tools like ppp, dip, wvdial, etc. to dial up a connection;
  • plugdev – allows users to mount and umount removable devices through pmount;
  • lpadmin – allows users to manage printers and pending jobs sent by other users;
  • lxd – allows users to create and manage Linux containers;
  • sambashare – gives access to share files with the local network.

On the next two pages, we show you how to create a new user. First, we take you through the process using the graphical interface.

Page 2 – Create a new user with the GUI

Pages in this article:
Page 1 – Groups
Page 2 – Create a new user with the GUI
Page 3 – Create a new user with the command-line

All articles in this series:

Linux For Starters: Your Guide to Linux
1What is Linux? Why use Linux? What do I need?
2Choose a Linux distribution meeting your specific needs and requirements.
3Make a bootable Ubuntu USB stick in Windows.
4We show you how to install Ubuntu 21.04 on your hard disk.
5Things to do after installing Ubuntu.
6Navigating your way around the Desktop.
7Updating the system, install new software.
8Open source replacements for proprietary Windows desktop software.
9Get started with the power and flexibility of the terminal.
10We cover the basics of files and permissions.
11Getting help from your system.
12Learn all about the file system.
13Manipulating files from the shell.
14Maintain your system with these simple tips.
15Managing users on your system.
16Explore different desktops to GNOME 3.
17Gaming on Linux.
18Protect your privacy with this guide.
19Access the Windows desktop from Linux using a remote desktop client.
20Set up a virtual machine running Ubuntu as the host and openSUSE as the guest.
21Wine lets you run Windows programs on Linux without emulation.
22Extend your GNOME desktop with extensions and themes.
XUseful Linux commands.
Notify of

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

Inline Feedbacks
View all comments