[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: allow members of the jenkins group to sudo to the jenkins user
Holger Levsen
gitlab at salsa.debian.org
Thu Mar 7 20:36:44 GMT 2019
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
71d44a9f by Holger Levsen at 2019-03-07T20:36:24Z
reproducible: allow members of the jenkins group to sudo to the jenkins user
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
3 changed files:
- hosts/common/etc/sudoers.d/jenkins-adm
- hosts/jenkins/etc/sudoers.d/jenkins
- hosts/jenkins/etc/sudoers.d/jenkins-adm
Changes:
=====================================
hosts/common/etc/sudoers.d/jenkins-adm
=====================================
@@ -1,4 +1,4 @@
-# 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
=====================================
hosts/jenkins/etc/sudoers.d/jenkins
=====================================
@@ -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
=====================================
hosts/jenkins/etc/sudoers.d/jenkins-adm
=====================================
@@ -1,4 +1,4 @@
-# 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
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/71d44a9f5b520222d6ac07fbe38c78a07ae6d7ad
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/71d44a9f5b520222d6ac07fbe38c78a07ae6d7ad
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190307/61be582f/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list