Commit 71d44a9f authored by Holger Levsen's avatar Holger Levsen

reproducible: allow members of the jenkins group to sudo to the jenkins user

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent b7131499
# allow member of the jenkins-adm group to sudo-to the jenkins-adm user (owner
# allow members of the jenkins-adm group to sudo-to the jenkins-adm user (owner
# of jenkins script) and the jenkins user itself
%jenkins-adm ALL=(jenkins:jenkins) NOPASSWD: ALL
%jenkins-adm ALL=(jenkins-adm:jenkins-adm) NOPASSWD: ALL
......
......@@ -58,5 +58,8 @@ jenkins ALL= \
/usr/bin/createuser *, \
/usr/bin/createdb *
# allow members of the jenkins group to sudo to the jenkins user
%jenkins ALL=(jenkins:jenkins) NOPASSWD: ALL
# keep these environment variables
Defaults env_keep += "http_proxy", env_reset
# allow member of the jenkins-adm group to sudo-to the jenkins-adm user (owner
# allow members of the jenkins-adm group to sudo-to the jenkins-adm user (owner
# of jenkins script) and the jenkins user itself
%jenkins-adm ALL=(jenkins:jenkins) NOPASSWD: ALL
%jenkins-adm ALL=(jenkins-adm:jenkins-adm) NOPASSWD: ALL
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment