From: Todd C. Miller Date: Thu, 28 Jun 2007 14:42:43 +0000 (+0000) Subject: honor SETENV and NOSETENV tags X-Git-Tag: SUDO_1_7_0~519 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=888a6d2e4948cc8de74e6b91f8576be8e8e54ff8;p=sudo honor SETENV and NOSETENV tags --- diff --git a/sudoers2ldif b/sudoers2ldif index dadfc220e..4dcd8cf36 100644 --- a/sudoers2ldif +++ b/sudoers2ldif @@ -103,6 +103,8 @@ sub expand{ s/PASSWD:\s*// && push @options,"authenticate"; s/NOEXEC:\s*// && push @options,"noexec"; s/EXEC:\s*// && push @options,"!noexec"; + s/SETENV:\s*// && push @options,"setenv"; + s/NOSETENV:\s*// && push @options,"!setenv"; s/\w+://; # silently remove other directives s/\s+$//; # right trim }