From: Todd C. Miller Date: Tue, 6 Apr 1999 18:06:12 +0000 (+0000) Subject: New runas semantics X-Git-Tag: SUDO_1_6_0~296 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d78a954e74824adba9f4945eb8627924e2361df;p=sudo New runas semantics --- diff --git a/sample.sudoers b/sample.sudoers index d4513677f..fcb6e57fd 100644 --- a/sample.sudoers +++ b/sample.sudoers @@ -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