From: Todd C. Miller Date: Mon, 5 Apr 1999 20:30:15 +0000 (+0000) Subject: Use ! not ^ to do negation X-Git-Tag: SUDO_1_6_0~306 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a9dc3fabcf15e1c2f4fd3727ada9bda195901d8;p=sudo Use ! not ^ to do negation --- diff --git a/sample.sudoers b/sample.sudoers index 89661ab7f..d4513677f 100644 --- a/sample.sudoers +++ b/sample.sudoers @@ -88,4 +88,4 @@ jim +biglab=ALL fred ALL=(oracle) /bin/ls,(#-2) NOPASSWD:/bin/date # somedude may su to anyone but root and flags are not allowed -somedude ALL=/usr/bin/su [^-]*, !/usr/bin/su *root* +somedude ALL=/usr/bin/su [!-]*, !/usr/bin/su *root*