Creating a user is a common task for any system administrator. This article shows you how to create a user on Ubuntu 18.04 LTS. This process hasn’t changed in any significant manor through many versions of Ubuntu.
- This article is intended for Ubuntu 18.04 LTS only (though it may apply to other versions).
- These instructions are for creating a user via the command line.
Step 1. Login to Your Server
Before creating the user, we must login to the server as the root user. If you’re already logged in, skip to Step 2.
In this case, YOUR-SERVER-IP refers to the IP of your server.
Step 2. Create a User on Ubuntu 18.04 LTS
To create a user, we’re going to use the aptly named adduser command.
Where NEWUSERNAME is the username you want to create.