2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-09-01 06:45:10 +00:00

added John_Rouillard@dl5000.bc.edu's changes (new features)

This commit is contained in:
Todd C. Miller
1993-12-03 03:06:17 +00:00
parent 7a05f15585
commit 606f038427

View File

@@ -84,18 +84,20 @@ 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/
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, 4
command alias specifications and 7 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
spirit). Robh is permitted to execute any command except for the group spirit). Robh is permitted to execute any command except for the group
of SHELL commands on any machine. Jill is permitted to execute 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. SERVERS. Steve can run any command located in the directory
/usr/su_commands on all machines.
The The
.I sudoers .I sudoers
@@ -169,6 +171,11 @@ Have visudo do more extensive checking on the sudoers file.
/usr/local/etc/visudo utility for modifying the sudoers file. /usr/local/etc/visudo utility for modifying the sudoers file.
.fi .fi
.SH ENVIRONMENT VARIABLES
.nf
EDITOR Used by visudo to determine the editor to use.
.fi
.SH AUTHORS .SH AUTHORS
.nf .nf
Jeff Nieusma <nieusma@rootgroup.com> Jeff Nieusma <nieusma@rootgroup.com>