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,100 points
19 views

2 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 35,750 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,900 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
31 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,520 points
83 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,900 points
690 views
+13 votes
2 answers
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
• 35,750 points
93 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
2,920 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.