Guides

New user

Create a new (sudo) user on Ubuntu

This guide will let you create a new (sudo) user on a Linux system.

1. Create a new user:

bash
adduser <name>

Fill in the password and details as prompted.

2. Add the user to the sudo group:

bash
usermod -aG sudo <name>

3. Verify sudo access:

bash
su - <name>
bash
sudo whoami

If the output is root, the user has sudo access.