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:

adduser <name>

Fill in the password and details as prompted.

2. Add the user to the sudo group:

usermod -aG sudo <name>

3. Verify sudo access:

su - <name>
sudo whoami

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