Commit 71d44a9f authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible: allow members of the jenkins group to sudo to the jenkins user

parent b7131499
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
# allow member of the jenkins-adm group to sudo-to the jenkins-adm user (owner
# allow members 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
+3 −0
Original line number Diff line number Diff line
@@ -58,5 +58,8 @@ jenkins ALL= \
	/usr/bin/createuser *, \
	/usr/bin/createdb *

# allow members of the jenkins group to sudo to the jenkins user 
%jenkins ALL=(jenkins:jenkins) NOPASSWD: ALL

# keep these environment variables
Defaults        env_keep += "http_proxy", env_reset
+1 −1
Original line number Diff line number Diff line
# allow member of the jenkins-adm group to sudo-to the jenkins-adm user (owner
# allow members 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