There are aliases and more that you can use in order to determine groups of users and such, but the basic and classic usage is just to give sudo rights to a user, something that can be achieved using this line inside the /etc/sudoers file :
Code: Select all
ROBOT.LK ALL = (ALL) ALL
Some other examples could be:
Code: Select all
User_Alias PEOPLE = clare,kalvin
PEOPLE ALL=ALL
#The users in the PEOPLE group can run any command from any terminal.
Code: Select all
gregory ALL= PRINTING
# user gregory may run lpc and lprm from any machine.