Introduction
Adding a user to the sudoers group is easy. This must be done as root of course due to the nature of what we're trying to accomplish.
NOTICE! A logged in user will have to log out and back in before the changes will take effect!
Adding an Existing User to the Sudo Group
This one is simple. Just add the existing user account to the sudo group. # adduser existing_username sudo
If the user was already logged in, they will need to log out and back in. The changes will NOT take effect within their current session.
Adding a New User to the Sudo Group
This one is very similar to adding an existing user to the sudo group. The only difference is that we have to make the account first.
# adduser new_username
Fill in the user information and password as prompted by the adduser command. Add the new user account to the sudo group. # adduser existing_username sudo