How to create a user account on Ubuntu Server 20.04

You will need super user or root privileges to add a new user to the Ubuntu server. Follow these steps to create the new user account:

Step 1 : To add a new user in Ubuntu, enter following command in your shell

sudo adduser tutorial

Step 2 : Enter your password to complete the command with sudo privileges

Step 3 : Now enter a password for the new user

Step 4 : Confirm the password for the new user

Step 5 : Enter the full name and other information about the new user; you can skip this part by pressing the Enter key.

Step 6 : Enter Y to confirm that information is correct

Step 7 : This should have added new user to the system. You can confirm this by viewing the file

tail -n 2 /etc/passwd

Add Comment