I want to know how can I modify the below setting from Jenkins server and not UI:



  • what is the plugin that you have installed? I don't have this option on my jenkins
    – Nitish
    Feb 17, 2020 at 9:54
  • I guess LDAP plugin: plugins.jenkins.io/ldap
    – arielma
    Feb 17, 2020 at 10:15

1 Answer 1


Add the following lines in /var/lib/jenkins/config.xml under securityRealm and then restart jenkins service to enable cache. Remove the below 4 line if you don't want to enable it.


Please refer the below image

Jenkins config file snippet

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.