How To Create a Sudo User on Ubuntu 20.04 LTS

Originally published at:

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