]> granicus.if.org Git - sudo/commitdiff
added net_addr/mask example
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 17 Jun 1996 04:07:40 +0000 (04:07 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 17 Jun 1996 04:07:40 +0000 (04:07 +0000)
sample.sudoers

index 28c2cdf7f337229c55d8fc814c7f8a4da4870206..13f5bc4516b457edbf432e04ca955516adc4689c 100644 (file)
@@ -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/