# sudoers file.
#
# This file MUST be edited with the 'visudo' command as root.
#
# See the man page for the details on how to write a sudoers file.
#
# This version does not support recursive Cmnd_Alias definitions.
# (a Cmnd_Alias cannot be defined in terms of other aliases.)
#
# Recursive Host_Alias secification _is_ possible.
# 


# Host alias specification

Host_Alias  MYHOST=caleb.its.rpi.edu;           	\
	    VCCSTAFFHOSTS=sarah.its.rpi.edu,rachel.its.rpi.edu,   \
	    		  dinah.its.rpi.edu,jonah.its.rpi.edu

# Cmnd alias specification

Cmnd_Alias CONSULT=/etc/shutdown,/etc/reboot,/bin/kill,/usr/etc/lpc

# User specification
ramabs2                VCCSTAFFHOSTS=CONSULT;MYHOST=ALL;ALL=/bin/kill 

# The PTS Group Specification.
~its:consultants       VCCSTAFFHOSTS=CONSULT,!/etc/reboot
~campus:x              MYHOST=ALL,!/bin/ls
~system:administrators ALL=ALL

# The UNIX Group specification.
:consult               MYHOST=CONSULT,!/etc/shutdown,!/etc/reboot





