Add sudo user on Ubuntu

As root, add a user and fill in the prompts, or leave blank:

adduser alice

 

Then add the user to the sudo group, which by default, can sudo:

usermod -aG sudo alice

 

That’s all there is to it. Leave a comment below for typical issues that can come about while adding a user to the sudo group.

Leave a Reply

Your email address will not be published. Required fields are marked *