summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-10 19:17:14 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-10 19:17:14 +0100
commitf4d3e2f46157ae941c57c7815f88846124f271fc (patch)
treee85ac34deb3ca6a6c4bca45df2150c81c59d7a56 /hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm
parent9696926fc6afaf766dfcd269c3cbdb3abfffa583 (diff)
downloadjenkins.debian.net-f4d3e2f46157ae941c57c7815f88846124f271fc.tar.xz
reproducible and jenkins.d.n: allow jenkins-adm to run everything as root
Diffstat (limited to 'hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm')
-rw-r--r--hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm
new file mode 100644
index 00000000..3c357be2
--- /dev/null
+++ b/hosts/profitbricks-build3-amd64/etc/sudoers.d/jenkins-adm
@@ -0,0 +1,7 @@
+# allow member 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
+# allow jenkins-adm to run everything as root
+%jenkins-adm ALL= NOPASSWD: ALL
+