Jenkins' /etc/default/jenkins not update safe?

0 votes
I’ve installed Jenkins using the command

apt-get install Jenkins

Then I made a few changes to /etc/default/Jenkins to change the Jenkins system user.

And now I figured that this file becomes reverted with every update using apt-get update.

I’ve also changed the owners of a few files In Jenkins installation, even these are getting reverted with every update.

What do I do?
Aug 9, 2018 in Jenkins by lina
• 8,110 points
33 views

2 answers to this question.

0 votes
Alright, you can download the source package that apt-get uses and modify the users, permissions etc to suit your local use. Rebuild the package and either install it from cli with dpkg -i or make your own repository for local use.
answered Aug 9, 2018 by Kalgi
• 42,280 points
0 votes
Use a tool like puppet to manage the package install and then apply the changes required locally afterwards
answered Aug 9, 2018 by Nilesh
• 6,880 points

Related Questions In Jenkins

0 votes
1 answer

Jenkins not running as expected after changing the default port

If your Jenkins is running on Ubuntu Virtual ...READ MORE

answered Dec 18, 2018 in Jenkins by Charlie
54 views
0 votes
1 answer

gulp serve & not working in jenkins

Try using nohup. It will creates nohup.out ...READ MORE

answered May 11, 2018 in Jenkins by DareDev
• 6,810 points
153 views
0 votes
5 answers
0 votes
1 answer

Jenkins console output not in realtime

Make sure your script is flushing it ...READ MORE

answered Aug 7, 2018 in Jenkins by Nilesh
• 6,880 points
1,147 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
211 views
0 votes
1 answer
0 votes
2 answers

Subversion (SVNKIT) not working in Jenkins

Jenkins doesn't use the installed Subversion command ...READ MORE

answered Aug 8, 2018 in Jenkins by Kalgi
• 42,280 points
296 views
0 votes
5 answers

What is the default Jenkins password?

Change the shell to /bin/bash instead of bin/false ...READ MORE

answered Apr 22 in Jenkins by Vinod
8,442 views