Thursday, February 16, 2017

Locked out of Jenkins? Don't worry.

You just setup a new Jenkins box, and you're trying to setup security, but somehow you end up with this screen:

User is missing the Overall/Read permission

All you need to do is go to $JENKINS_HOME/config.xml
?xml version='1.0' encoding='UTF-8'?>
  <authorizationStrategy class="$Unsecured"/>
  <securityRealm class="">

And change <useSecurity> to false. Then restart the jenkins process to pickup the change.

Now get back in there and configure it correctly!

No comments: