summaryrefslogtreecommitdiffstats
path: root/hosts/jtk1a-armhf-rb/etc/sudoers.d/jenkins-adm
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-09-19 15:08:50 +0200
committerHolger Levsen <holger@layer-acht.org>2016-09-19 15:09:18 +0200
commit39421cde89372babc21c5813b68de9579a0409c7 (patch)
treeff22f7665673853d44562cf19968f2ea268d3c33 /hosts/jtk1a-armhf-rb/etc/sudoers.d/jenkins-adm
parent33537327617bce60a0d6fcd724316f771422ffe7 (diff)
downloadjenkins.debian.net-39421cde89372babc21c5813b68de9579a0409c7.tar.xz
reproducible Debian armhf: replace opi2a with jtk1a, except for builder jobs
Diffstat (limited to 'hosts/jtk1a-armhf-rb/etc/sudoers.d/jenkins-adm')
-rw-r--r--hosts/jtk1a-armhf-rb/etc/sudoers.d/jenkins-adm7
1 files changed, 7 insertions, 0 deletions
diff --git a/hosts/jtk1a-armhf-rb/etc/sudoers.d/jenkins-adm b/hosts/jtk1a-armhf-rb/etc/sudoers.d/jenkins-adm
new file mode 100644
index 00000000..3c357be2
--- /dev/null
+++ b/hosts/jtk1a-armhf-rb/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
+