From: Todd C. Miller Date: Mon, 17 Jun 1996 04:07:40 +0000 (+0000) Subject: added net_addr/mask example X-Git-Tag: SUDO_1_5_0~157 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c796e229c14915fddfc1d9a9eb8428b8eff7d6bb;p=sudo added net_addr/mask example --- diff --git a/sample.sudoers b/sample.sudoers index 28c2cdf7f..13f5bc451 100644 --- a/sample.sudoers +++ b/sample.sudoers @@ -37,6 +37,7 @@ Host_Alias DECSTATION=wilkinson,soma,dendrite,thang Host_Alias DECALPHA=widget,thalamus,foobar Host_Alias HPSNAKE=boa,nag,python Host_Alias CSNETS=128.138.243.0,128.138.204.0,128.138.242.0 +Host_Alias CUNETS=128.138.0.0/255.255.0.0 ## # User specification @@ -54,6 +55,9 @@ PARTTIMERS ALL=ALL,!SU,!SHELLS # rodney may run anything except root shells or su on machines in CSNETS rodney CSNETS=ALL,!SU,!SHELLS +# smartguy may run any command on any host in CUNETS (call B address) +smartguy CUNETS=ALL + # operator may run maintenance commands and anything in /usr/oper/bin/ operator ALL=DUMPS,KILL,PRINTING,SHUTDOWN,HALT,REBOOT,/usr/oper/bin/