From: Todd C. Miller Date: Mon, 5 Feb 1996 23:39:35 +0000 (+0000) Subject: added wildcard example X-Git-Tag: SUDO_1_5_0~274 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e9714fa3f312a65d5ccf71e1d938ee08042d794f;p=sudo added wildcard example --- diff --git a/sample.sudoers b/sample.sudoers index 74458f526..adedd21b3 100644 --- a/sample.sudoers +++ b/sample.sudoers @@ -60,6 +60,9 @@ operator ALL=DUMPS,KILL,PRINTING,SHUTDOWN,HALT,REBOOT,/usr/oper/bin/ # joe may su only to operator joe /usr/bin/su operator +# pete may change passwords for anyone but root +pete /bin/passwd [A-z]*,!/bin/passwd root + # bob may run anything except root shells or su on the sun3 and sun4 machines bob SUN4=ALL,!SU,!SHELLS:\ SUN3=ALL,!SU,!SHELLS