]> granicus.if.org Git - sudo/commitdiff
Replace [A-z] (which won't match in UTF8) with [A-Za-z] which is
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 3 Oct 2008 19:55:57 +0000 (19:55 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 3 Oct 2008 19:55:57 +0000 (19:55 +0000)
locale agnostic.

sample.sudoers
sudoers.pod

index 132f6c3fcaf301428440e91b73cdb6f6fbf5fc64..31983343353c7a022feb048f4f490eb6e860c83d 100644 (file)
@@ -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)
index 6eb2117a67e3f9970eab7cba7106dafa74f5fc8f..1cbbfea9f611078d99a2245d5d1a626486628765 100644 (file)
@@ -1250,7 +1250,7 @@ directory F</usr/oper/bin/>.
 
 The user B<joe> may only L<su(1)> 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<pete> is allowed to change anyone's password except for
 root on the I<HPPA> machines.  Note that this assumes L<passwd(1)>