Users in the sudoers list may use the command sudo, which allows them to execute a command as root. …
To add a user to the sudoers list, do the following:
As root, "visudo". You are now editing the sudoers list. Using the up/down arrow keys on your keyboard, find this line:
root ALL=(ALL) ALL
Place the cursor on the subsequent line and press "a" ("append") to enter insert mode. Add the following, replacing "user" with the username you wish to add to sudoers:
user ALL=(ALL) ALL
Press the escape key to leave insert mode and return to command mode. When finished, enter ":x" to save the file and quit.