Sudo User

How do you give users sudo permission?

In most distributions, /etc/sudoers is preconfigured to grant permission to the members of the group sudo. So the easiest way would be to add the user to the group. This can be done by the following command:

adduser <username> sudo

This can also be achieved by the following command:

usermod -a -G sudo <username>