Are you new to Ubuntu and want to create a new user? Let’s understand how to create a new user in Ubuntu. Ubuntu is a multi-user operating system, just like every other Linux distribution. All the different command-line and GUI application types can have different permission levels and settings for each user.
In this article, I will explain to you the methods to create a new user in Ubuntu. There are two ways to create a new user in Ubuntu:
How to create a new user in Ubuntu using Terminal?
If you’re using Terminal or managing your server with SSH, this is the method to go for. You can follow the steps explained to create a new user in Ubuntu using Terminal.
First of all, open your Ubuntu machine terminal and enter the following command to create a new user.
sudo adduser codewin
Note: You need to replace the codewin with the username you want to create.
Adding user `codewin' ...
Adding new group `codewin' (1001) ...
Adding new user `codewin' (1001) with group `codewin' ...
Creating home directory `/home/codewin' ...
Copying files from `/etc/skel' ...
After entering the command, you’ll need to choose a strong password for the user. Along with that, you’ll be asked several other questions. You can choose to answer them or just skip them by clicking the ENTER button.
New password:
Retype new password:
passwd: password updated successfully
Changing the user information for codewin
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]
In the final question, “Is the information correct? [Y/n]” you need to answer it “Y” to confirm.
To grant the newly created user root permission you need to type the following command in Terminal.
sudo usermod -aG sudo codewin
How to create a new user in Ubuntu using GUI?
If you’re not familiar with the Terminal, you can use the GUI option to create a new user on Ubuntu.
- Open Ubuntu Menu
- Search for “Users and Groups”
- Open the “Users and Groups” app on Ubuntu
- Authenticate with your password
- Click on Add button
- Choose account type
- Enter Full Name and Username
- Click on add button to create a new user in Ubuntu
Note: You can use these methods for any Ubuntu-based distribution, including Debian, Kubuntu, and Linux Mint.
I hope you found this tutorial helpful. Let me know if you have any questions related to the method to create a new user in Ubuntu using Terminal or GUI in the comment section.