From: Todd C. Miller Date: Sat, 7 Feb 1998 02:55:51 +0000 (+0000) Subject: better example of su but not root su X-Git-Tag: SUDO_1_5_6~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a58e3f4b1b3c95ced79802247b189529e87879bc;p=sudo better example of su but not root su --- diff --git a/sample.sudoers b/sample.sudoers index fdeb70dd9..7089c95c7 100644 --- a/sample.sudoers +++ b/sample.sudoers @@ -88,4 +88,4 @@ jim +biglab=ALL fred ALL=(oracle) /bin/ls,(#-2) NOPASSWD:/bin/date # somedude may su to anyone but root and must give su an argument -somedude ALL=/usr/bin/su ?*, !/usr/bin/su root +somedude ALL=/usr/bin/su ?*, !/usr/bin/su *root* diff --git a/sudoers.pod b/sudoers.pod index de8d045dd..6d9ad9ed4 100644 --- a/sudoers.pod +++ b/sudoers.pod @@ -171,7 +171,7 @@ with a "\" if used in command arguments: ",", ":", "=", "\". PARTTIME ALL=ALL,!SHELLS,!SU +interns +openlabs=ALL,!SHELLS,!SU britt REMOTE=SHUTDOWN:ALL=LPCS - jimbo CUNETS=/bin/su ?*,!/bin/su root + jimbo CUNETS=/bin/su ?*,!/bin/su *root* nieusma SERVERS=SHUTDOWN,/etc/reboot:\ HUB=ALL,!SHELLS jill houdini=/etc/shutdown -[hr] now,MISC