From e9714fa3f312a65d5ccf71e1d938ee08042d794f Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Mon, 5 Feb 1996 23:39:35 +0000 Subject: [PATCH] added wildcard example --- sample.sudoers | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.49.0