On a Ubuntu system the first user created when the system is installed is considered to be the superuser. When adding a new user there is an option to create them as an administrator, in which case they will also be able to run superuser commands with sudo. In this screenshot of Ubuntu 18.04 you can see the option at the top of the dialog:
Add a User on Ubuntu Server - How-To Geek Mar 27, 2013 AddUsersHowto - Community Help Wiki - Ubuntu Sep 10, 2017 How to Create and Delete User on Ubuntu 16.04 May 23, 2020 How can I create an administrator user from the command line?
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
Jul 22, 2020 Ubuntu Manpage: useradd - create a new user or update When invoked without the -D option, the useradd command creates a new user account using the values specified on the command line plus the default values from the system. Depending on command line options, the useradd command will update system files and may also create the new user's home directory and copy initial files.
Dec 24, 2008
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 Ubuntu called octopus, run the commands below. sudo adduser octopus. You’ll be prompted to create a new UNIX password for the account.. Hit Ctrl+Alt+T to launch the command line Terminal application in Ubuntu. Now in order to create a new user account, use adduser command as follows: $ sudo adduser < username > Replace