How To Create a Sudo User on Ubuntu 20.04 LTS

Originally published at: https://www.cyberciti.biz/faq/how-to-create-a-sudo-user-on-ubuntu-20-04-lts/

How do I create a new user with sudo access on Ubuntu 20.04 LTS Linux server? Can you tell me command to add sudo user on Ubuntu 20.04 Linux server?

With root permission add the new user to the sudoers group, in ubuntu the command is:

sudo usermod -aG sudo <username>

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki