added network and ip addresses to man page

This commit is contained in:
Todd C. Miller
1994-08-13 21:15:52 +00:00
parent 20f8b1911a
commit e047d29e12

View File

@@ -49,7 +49,7 @@ host alias section format:
Host_Alias ::= a keyword. Host_Alias ::= a keyword.
HOSTALIAS ::= an upper-case alias name. HOSTALIAS ::= an upper-case alias name.
host-list ::= a comma separated list of hosts. host-list ::= a comma separated list of hosts/addresses/networks.
command alias section format: command alias section format:
Cmnd_Alias CMNDALIAS = cmnd-list Cmnd_Alias CMNDALIAS = cmnd-list
@@ -72,8 +72,9 @@ Examples
# Host alias specification # Host alias specification
Host_Alias HUB=houdini.rootgroup.com:\\ Host_Alias HUB=houdini.rootgroup.com:\\
REMOTE=merlin,kodiakthorn,spirit REMOTE=merlin,kodiakthorn,spirit
Host_Alias MACHINES=kalkan,alpo,milkbones Host_Alias MACHINES=kalkan,alpo,milkbones,128.138.199.1
Host_Alias SERVERS=houdini,merlin,kodiakthorn,spirit Host_Alias SERVERS=houdini,merlin,kodiakthorn,spirit
Host_Alias CSNETS=128.138.243.0,128.138.204.0,128.138.242.0
# Command alias specification # Command alias specification
Cmnd_Alias LPCS=/usr/etc/lpc,/usr/ucb/lprm Cmnd_Alias LPCS=/usr/etc/lpc,/usr/ucb/lprm
@@ -91,11 +92,11 @@ Examples
billp ALL=/usr/local/bin/top:MACHINES=SHELLS billp ALL=/usr/local/bin/top:MACHINES=SHELLS
davehieb merlin=ALL:SERVERS=/etc/halt:\\ davehieb merlin=ALL:SERVERS=/etc/halt:\\
kodiakthorn=ALL kodiakthorn=ALL
steve ALL=/usr/su_commands/ steve CSNETS=/usr/su_commands/
The above The above
.I sudoers .I sudoers
file specification is composed of 4 host alias specifications, 4 file specification is composed of 4 host alias specifications, 3
command alias specifications and 8 user specifications. Britt is command alias specifications and 8 user specifications. Britt is
permitted to execute /etc/halt, /etc/shutdown, /usr/etc/lpc and permitted to execute /etc/halt, /etc/shutdown, /usr/etc/lpc and
/usr/ucb/lprm on the REMOTE machines (merlin, kodiakthorn, and /usr/ucb/lprm on the REMOTE machines (merlin, kodiakthorn, and
@@ -104,7 +105,7 @@ of SHELL commands on any machine. Jill is permitted to execute
/etc/shutdown, /bin/rm, and /bin/cat on houdini. Davehieb can execute /etc/shutdown, /bin/rm, and /bin/cat on houdini. Davehieb can execute
any command on machines merlin and kodiakthorn and can halt the any command on machines merlin and kodiakthorn and can halt the
SERVERS. Steve can run any command located in the directory SERVERS. Steve can run any command located in the directory
/usr/su_commands on all machines. /usr/su_commands on all machines on the subnets listed in OURNETS.
The The
.I sudoers .I sudoers