From a58e3f4b1b3c95ced79802247b189529e87879bc Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 7 Feb 1998 02:55:51 +0000 Subject: [PATCH] better example of su but not root su --- sample.sudoers | 2 +- sudoers.pod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0