Issue
I enabled jenkins security thinking it would prompt me to create an account. I tried deleting and editing my config.xml file in c:/program files/jenkins but i'm not sure how to restart jenkins without having access.
Any help would be appreciated.
I'm running Jenkins on a windows server, recently updated to the latest version.
Solution
If you don't have a lot of other configuration that you'd like to save, you can just delete %JENKINS_HOME%/config.xml
and restart Jenkins to disable security.
Otherwise, edit config.xml
and set the values inside the <useSecurity>
tags to false, then restart Jenkins.
Answered By - gareth_bowles
Answer Checked By - David Marino (JavaFixing Volunteer)