]> granicus.if.org Git - sudo/commitdiff
added wildcard example
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 5 Feb 1996 23:39:35 +0000 (23:39 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 5 Feb 1996 23:39:35 +0000 (23:39 +0000)
sample.sudoers

index 74458f52642e8657edcc01f27650bb76f93ed9b3..adedd21b322122c6daad73502e15988639859972 100644 (file)
@@ -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