]> granicus.if.org Git - sudo/commitdiff
fix usage of (username) in conjunction with , and !
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 23 Nov 1997 18:29:24 +0000 (18:29 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 23 Nov 1997 18:29:24 +0000 (18:29 +0000)
sample.sudoers

index f64fc6195af3b8ffc5671875f9ad09579706b26a..fdeb70dd9a0f8c0c2bf7a4d279993ff5b7b7fb9e 100644 (file)
@@ -74,8 +74,8 @@ 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,!SU,!SHELLS:\
-               SUN3=(OP) ALL,!SU,!SHELLS
+bob            SUN4=(OP) ALL, (OP) !SU, (OP) !SHELLS:\
+               SUN3=(OP) ALL, (OP) !SU, (OP) !SHELLS
 
 # jim may run anything on machines in the biglab netgroup
 jim            +biglab=ALL