How-to Reset / Disable Jenkins Security

Overview

In this tutorial, we learn how to disable Jenkins Security.

Disable Jenkins Security

Open /var/lib/jenkins/config.xml

Change

    true

to

    false

Restart Jenkins:

$ sudo service jenkins restart

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.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.