Well, I did recover. Our jenkins is on a windows machine and evidently there 
was another Jenkins process running that was not the service (??) don't know 
how that happens. There was also a second Java/Jenkins process issuing a cli 
command. Perhaps that kept the service process from terminating.

Anyway, I am back.

From: Ginga, Dick
Sent: Wednesday, September 24, 2014 9:28 AM
To: 'jenkinsci-users@googlegroups.com'
Subject: locked out of Jenkins
Importance: High

OK, I did it. I hit the wrong key and now everyone is locked out of jenkins, 
including me, I tried the below but it did not work.

Why would I "try renaming or deleting config,xml"? Won't I lose everything?



  1.  Stop Jenkins (the easiest way to do this is to kill the servlet 
container.)
  2.  Go to $JENKINS_HOME in the file system and find config.xml file.
  3.  Open this file in the editor.
  4.  Look for the <useSecurity>true</useSecurity> element in this file.
  5.  Replace true with false
  6.  Remove the elements authorizationStrategy and securityRealm
  7.  Start Jenkins
When Jenkins comes back, it's in the unsecured mode where everyone gets full 
access to the system.
If this is still not working, trying renaming or deleting config.xml.

Dick Ginga, Informatics R&D
PerkinElmer Inc. | For the Better
HUMAN HEALTH | ENVIRONMENTAL HEALTH
940 Winter Street, Waltham MA 02451

dick.gi...@perkinelmer.com<mailto:ed.cof...@perkinelmer.com>
Mobile - 508-847-1434
Office - 781-663-6947

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to