summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins-test-vm/etc/sudoers.d/jenkins-adm
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-12 16:17:14 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-12 16:17:14 +0100
commit56f67245fbac6433e4bfd0e71fb3274bf918a71e (patch)
tree6f86e35bffb45eb38fd3f232754ea8df964c84e6 /hosts/jenkins-test-vm/etc/sudoers.d/jenkins-adm
parent1e1600b4e0a88f8bcbf38899247dd2174a3e046d (diff)
downloadjenkins.debian.net-56f67245fbac6433e4bfd0e71fb3274bf918a71e.tar.xz
add sudoers.d for jenkins-adm
Diffstat (limited to 'hosts/jenkins-test-vm/etc/sudoers.d/jenkins-adm')
-rw-r--r--hosts/jenkins-test-vm/etc/sudoers.d/jenkins-adm4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/jenkins-test-vm/etc/sudoers.d/jenkins-adm b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins-adm
new file mode 100644
index 00000000..e585d03b
--- /dev/null
+++ b/hosts/jenkins-test-vm/etc/sudoers.d/jenkins-adm
@@ -0,0 +1,4 @@
+# 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