This post shows how to add a new sudo user in Ubuntu as well as most Debian based Linux Distros. The user we are adding is called sudotest.

  1. Create the user using terminal. You will be prompted to enter the password needed twice as well as filling out Name, Room Number, Phone Numbers and a other attribute. You can use the default blank entries if desired by hitting enter.
    • sudo adduser sudotest
  2. Add the user to the sudo group
    • sudo usermod -aG sudo sudotest

Leave a Reply

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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Back To Top