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.
- 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
- Add the user to the sudo group
- sudo usermod -aG sudo sudotest