From: Todd C. Miller Date: Sun, 23 Nov 1997 18:29:24 +0000 (+0000) Subject: fix usage of (username) in conjunction with , and ! X-Git-Tag: SUDO_1_5_4~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=687434bc960b612601bf11fca20d6ec28ff0d1fc;p=sudo fix usage of (username) in conjunction with , and ! --- diff --git a/sample.sudoers b/sample.sudoers index f64fc6195..fdeb70dd9 100644 --- a/sample.sudoers +++ b/sample.sudoers @@ -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