added net_addr/mask example
This commit is contained in:
@@ -37,6 +37,7 @@ Host_Alias DECSTATION=wilkinson,soma,dendrite,thang
|
|||||||
Host_Alias DECALPHA=widget,thalamus,foobar
|
Host_Alias DECALPHA=widget,thalamus,foobar
|
||||||
Host_Alias HPSNAKE=boa,nag,python
|
Host_Alias HPSNAKE=boa,nag,python
|
||||||
Host_Alias CSNETS=128.138.243.0,128.138.204.0,128.138.242.0
|
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
|
# 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 may run anything except root shells or su on machines in CSNETS
|
||||||
rodney CSNETS=ALL,!SU,!SHELLS
|
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 may run maintenance commands and anything in /usr/oper/bin/
|
||||||
operator ALL=DUMPS,KILL,PRINTING,SHUTDOWN,HALT,REBOOT,/usr/oper/bin/
|
operator ALL=DUMPS,KILL,PRINTING,SHUTDOWN,HALT,REBOOT,/usr/oper/bin/
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user