summaryrefslogtreecommitdiffstats
path: root/hosts/profitbricks-build9-amd64/etc/sudoers.d/jenkins-adm
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-04-28 20:25:15 +0200
committerHolger Levsen <holger@layer-acht.org>2016-04-28 20:25:15 +0200
commitec764124480dc7b269dd5227aedbcf58b95f324c (patch)
tree8c1c80852fc4011efe47a73f56e10afa77ee9cc7 /hosts/profitbricks-build9-amd64/etc/sudoers.d/jenkins-adm
parent8e9dd4ea89dc6e0035014d0a6ba9ab1423126ef3 (diff)
downloadjenkins.debian.net-ec764124480dc7b269dd5227aedbcf58b95f324c.tar.xz
rename pb-build4 to pb-build9
Diffstat (limited to 'hosts/profitbricks-build9-amd64/etc/sudoers.d/jenkins-adm')
-rw-r--r--hosts/profitbricks-build9-amd64/etc/sudoers.d/jenkins-adm7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/profitbricks-build9-amd64/etc/sudoers.d/jenkins-adm b/hosts/profitbricks-build9-amd64/etc/sudoers.d/jenkins-adm
new file mode 100644
index 00000000..3c357be2
--- /dev/null
+++ b/hosts/profitbricks-build9-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
+