ObjectiveThe purpose of this article is to explain how to add user on Ubuntu 18.04 Bionic Beaver Linux. The guide will provide instructions on how to add user on Ubuntu using graphical user interface, and, also how to create user using a command line.
Operating System and Software Versions
- Operating System: - Ubuntu 18.04 Bionic
RequirementsPrivileged access to your Ubuntu System as root or via
sudocommand is required.
- # - requires given linux commands to be executed with root privileges either directly as a root user or by use of
- $ - requires given linux commands to be executed as a regular non-privileged user
Other Versions of this TutorialUbuntu 20.04 (Focal Fossa)
Add user to Ubuntu via GUI
Add user on Ubuntu GNOME DesktopTo create a new user on Ubuntu GNOME Desktop, first open SETTINGS window. Next navigate to
Add user on Ubuntu Plasma KDE DesktopTo add a new user on Ubuntu 18.04 running KDE plasma desktop, first open
System Settingswindow. Next, scroll down to Personalization section and click on
Account Detailsfollowed by
Add user on Ubuntu Cinnamon DesktopThe following procedure can be used to create a new user on Ubuntu desktop running Cinnamon graphical user interface. Start by opening
Add user to Ubuntu via command lineTo add user on Ubuntu via command line first, open up terminal and execute
addusercommand with username as an argument.
For example the below
addusercommand will create a new user with username
lubos. Except the password, any additional requested information is optional. If you do not wish to add any information, simply hit ENTER key:
$ sudo adduser lubos Adding user `lubos' ... Adding new group `lubos' (1001) ... Adding new user `lubos' (1001) with group `lubos' ... Creating home directory `/home/lubos' ... Copying files from `/etc/skel' ... Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for lubos Enter the new value, or press ENTER for the default Full Name : Room Number : Work Phone : Home Phone : Other : Is the information correct? [Y/n] yOnce the new user is created, you can login to GUI using user's new credentials or obtain the user's command prompt via the
$ su lubos Password: $ whoami lubosYes, adding user on Ubuntu Linux is simple as that! You may now wish to add your new user to a sudo group to gain administrative privileges.