Skip to main content

Add User Account

The following steps will create a new user named ubuntu that can run commands with elevated privileges.

Add New User Account

adduser ubuntu

Add User to sudo Group

The following will add the user ubuntu to the sudo group.

usermod -aG sudo ubuntu
note

You must log out of the root account and log in as the new user.