How-to Reset / Disable Jenkins Security

December 4, 2015 in Tutorial1 minute

Overview In this tutorial, we learn how to disable Jenkins Security. ## Disable Jenkins Security Open /var/lib/jenkins/config.xml Change

[code] true

[/code]

to [code] false

[/code]

Restart Jenkins: [code] $ sudo service jenkins restart

[/code]

Summary Navigate to the Jenkins dashboard to the “Configure Security” option you likely used before. This time, set up security the same as before, BUT set it to allow anyone to do anything, and allow user signup. Go to www.yoursite.com/securityRealm/addUser and create a user, then go change allow anyone to do anything to whatever you actually want users to be able to do. In my case, it is allow logged-in users to do anything.