summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/sudoers.d/jenkins-adm
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-27 14:31:57 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-27 14:31:57 +0200
commit315ead533e3d4e67ce3908a13ebe5b75ef9060c4 (patch)
treeb13a53cbace131ef2afedbd7697f724f9e674c0d /hosts/jenkins/etc/sudoers.d/jenkins-adm
parent16a5099a82e9c12322e7bea561a5f43448b013d4 (diff)
downloadjenkins.debian.net-315ead533e3d4e67ce3908a13ebe5b75ef9060c4.tar.xz
move etc to hosts/jenkins/etc
Diffstat (limited to 'hosts/jenkins/etc/sudoers.d/jenkins-adm')
-rw-r--r--hosts/jenkins/etc/sudoers.d/jenkins-adm4
1 files changed, 4 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/sudoers.d/jenkins-adm b/hosts/jenkins/etc/sudoers.d/jenkins-adm
new file mode 100644
index 00000000..e585d03b
--- /dev/null
+++ b/hosts/jenkins/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