I want to disable security in jenkins. I stopped the service, edited $JENKINS_HOME/config.xml as given in https://wiki.jenkins.io/display/JENKINS/Disable+security and https://wiki.jenkins.io/display/JENKINS/Disable+security
But whenever i restart, the content is getting replaced with initial value. I tried doing the same in ~/.jenkins directory also. But still everytime i restart, its getting replaced. Not able to understand why this is happening.
Any help would be appreciated. Thanks in advance.