Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

manage jenkins don't appear on Jenkins

Tags:

jenkins

tomcat

I downloaded Jenkins.war and I put it in tomcat/webapps directory. I launch http://127.0.0.1:8080/jenkins.

I created the first job by configuring jenkins and the job too. Everything worked well and I went to "manage jenkins" for putting all permissions for everyone but I lost all permissions and to access to manage jenkins too.

Please, What should I do for having all options in "Manage Jenkins".

like image 933
Khalid Ksouri Avatar asked Dec 11 '25 10:12

Khalid Ksouri


1 Answers

If you need to temporarily disable the security, so that you have admin access again, you can follow the steps on the disable security wiki page:

Stop Jenkins.
Go to $JENKINS_HOME in the file system and find config.xml.
In this file, find the <useSecurity>true</useSecurity> element.
Replace true with false.
Remove the elements authorizationStrategy and securityRealm.
Start Jenkins.

like image 95
Christopher Orr Avatar answered Dec 14 '25 07:12

Christopher Orr



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!