From c796e229c14915fddfc1d9a9eb8428b8eff7d6bb Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 17 Jun 1996 04:07:40 +0000 Subject: [PATCH] added net_addr/mask example --- sample.sudoers | 4 ++++ 1 file changed, 4 insertions(+) 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/ -- 2.40.0