How do you enable or disable the security from the Jenkins from command line?
Edit true line in config.xml file from the /var/lib/jenkins/config.xml directory to change the security settings.
To enable: true
To disable: change true to false false
We need to restart Jenkins for change to apply by using the command “sudo service jenkins restart” in my terminal.