From: Todd C. Miller Date: Fri, 3 Oct 2008 19:55:57 +0000 (+0000) Subject: Replace [A-z] (which won't match in UTF8) with [A-Za-z] which is X-Git-Tag: SUDO_1_7_0~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5446cd3ae664e05ed71b4d1b119befa591d52726;p=sudo Replace [A-z] (which won't match in UTF8) with [A-Za-z] which is locale agnostic. --- diff --git a/sample.sudoers b/sample.sudoers index 132f6c3fc..319833433 100644 --- a/sample.sudoers +++ b/sample.sudoers @@ -88,7 +88,7 @@ operator ALL = DUMPS, KILL, SHUTDOWN, HALT, REBOOT, PRINTING,\ joe ALL = /usr/bin/su operator # pete may change passwords for anyone but root on the hp snakes -pete HPPA = /usr/bin/passwd [A-z]*, !/usr/bin/passwd root +pete HPPA = /usr/bin/passwd [A-Za-z]*, !/usr/bin/passwd root # bob may run anything on the sparc and sgi machines as any user # listed in the Runas_Alias "OP" (ie: root and operator) diff --git a/sudoers.pod b/sudoers.pod index 6eb2117a6..1cbbfea9f 100644 --- a/sudoers.pod +++ b/sudoers.pod @@ -1250,7 +1250,7 @@ directory F. The user B may only L to operator. - pete HPPA = /usr/bin/passwd [A-z]*, !/usr/bin/passwd root + pete HPPA = /usr/bin/passwd [A-Za-z]*, !/usr/bin/passwd root The user B is allowed to change anyone's password except for root on the I machines. Note that this assumes L