[website] 01/03: Add SETENV tag to sudo options

Johan Van de Wauw johanvdw-guest at moszumanska.debian.org
Mon Sep 18 09:17:59 UTC 2017


This is an automated email from the git hooks/post-receive script.

johanvdw-guest pushed a commit to branch master
in repository website.

commit 2fde2e17281666ccd302d316215938718d345395
Author: Johan Van de Wauw <johan at gisky.be>
Date:   Mon Sep 18 10:29:30 2017 +0200

    Add SETENV tag to sudo options
    
    Otherwise an error occurs:
    "sudo: sorry, you are not allowed to preserve the environment"
---
 policy.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/policy.xml b/policy.xml
index bae7896..50511c3 100644
--- a/policy.xml
+++ b/policy.xml
@@ -910,7 +910,7 @@ Defaults! PBUILDERS setenv
 Cmnd_Alias PBUILDERS=/usr/sbin/pbuilder, /usr/sbin/cowbuilder
 
 # User privilege specification
-<replaceable><username></replaceable>     ALL=(root)     NOPASSWD:PBUILDERS
+<replaceable><username></replaceable>     ALL=(root)     NOPASSWD:SETENV:PBUILDERS
 </programlisting>
             <para id="git-cowbuilder-dist">
               To create <emphasis>distribution</emphasis> specific

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/website.git



More information about the Pkg-grass-devel mailing list