From 5446cd3ae664e05ed71b4d1b119befa591d52726 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 3 Oct 2008 19:55:57 +0000 Subject: [PATCH] Replace [A-z] (which won't match in UTF8) with [A-Za-z] which is locale agnostic. --- sample.sudoers | 2 +- sudoers.pod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0