]> granicus.if.org Git - sudo/commitdiff
New runas semantics
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 6 Apr 1999 18:06:12 +0000 (18:06 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 6 Apr 1999 18:06:12 +0000 (18:06 +0000)
sample.sudoers

index d4513677f862dabacb7355a88b76b8e0ccc8ee4c..fcb6e57fdeaef275603074a7edd593eeb566b62f 100644 (file)
@@ -73,9 +73,9 @@ joe           ALL=/usr/bin/su operator
 pete           ALL=/bin/passwd [A-z]*,!/bin/passwd root
 
 # bob may run anything except root shells or su on the sun3 and sun4 machines
-# as any user in then Runas_Alias "OP" (contains root and operator)
-bob            SUN4=(OP) ALL, (OP) !SU, (OP) !SHELLS:\
-               SUN3=(OP) ALL, (OP) !SU, (OP) !SHELLS
+# as any user in the Runas_Alias "OP" (contains root and operator)
+bob            SUN4=(OP) ALL, !SU, !SHELLS:\
+               SUN3=(OP) ALL, !SU, !SHELLS
 
 # jim may run anything on machines in the biglab netgroup
 jim            +biglab=ALL