Alwanza Home Extraordin-Air Team Final Project Linux Course Home
Project #18

Set up sudo on air.nesser.com

Use visudo to creat sudoers file and add

# User alias specification

User_Alias AIR = %airteam # <---- alias for everyone in airteam

# Cmnd alias specification

# Defaults specification

# User privilege specification
root ALL=(ALL) ALL 
 
# Added privileges for group "airteam" for useradd, and lpd & httpd daemon restart
AIR ALL=/usr/sbin/useradd [a-z]* # <---- permission for useradd command
AIR ALL=/sbin/service lpd restart # <---- permission for restarting printer
AIR ALL=/sbin/service httpd restart # <---- permission for restarting http
AIR ALL=/sbin/service httpsd restart # <---- permission for restarting https