This is an automated email from the ASF dual-hosted git repository.
mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git
The following commit(s) were added to refs/heads/trunk by this push:
new 9b384dd Jenkins user on agents shouldn't have sudo
9b384dd is described below
commit 9b384dd23bf9a11dc47310262fbf9eba1ee2cf3b
Author: Mick Semb Wever <[email protected]>
AuthorDate: Thu Apr 1 16:08:35 2021 +0200
Jenkins user on agents shouldn't have sudo
---
jenkins-dsl/agent-install.sh | 1 -
1 file changed, 1 deletion(-)
diff --git a/jenkins-dsl/agent-install.sh b/jenkins-dsl/agent-install.sh
index 92bb34d..44d407d 100644
--- a/jenkins-dsl/agent-install.sh
+++ b/jenkins-dsl/agent-install.sh
@@ -45,7 +45,6 @@ hostname `dig +short myip.opendns.com @resolver1.opendns.com`
groupadd -g 910 jenkins
useradd -m -u 910 -g 910 -s /bin/bash jenkins
mkdir /home/jenkins/.ssh
-usermod -a -G sudo jenkins
# Authorize ssh pub key for jenkins user
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]