How to disable or reset security settings in Jenkins?

0 votes
I have forgot the credentials to log in into Jenkins. Is there some way through which I can log in into Jenkins as an admin or by creating other user?
Jun 18 in Jenkins by Neel
• 1,610 points

retagged Jun 19 by Kalgi 17 views

1 answer to this question.

0 votes
Go to config.xml file in var/lib/jenkins. In this file you will find a tag called <useSecurity>. You can change it to false from true to disable the login while using Jenkins. Now restart jenkins and now you will be able to create a new user using new credentials.
answered Jun 18 by Arvind
• 1,530 points

Related Questions In Jenkins

0 votes
2 answers
0 votes
1 answer

How to trigger a Jenkins pipeline A in another Jenkins pipeline B?

You can run the following code, its ...READ MORE

answered Jul 5, 2018 in Jenkins by Sophie may
• 9,430 points
2,205 views
0 votes
1 answer

How to construct Maven installation in Jenkins for each Slave node?

I’m assuming that Java and Maven are ...READ MORE

answered Aug 1, 2018 in Jenkins by Sophie may
• 9,430 points
505 views
0 votes
1 answer

How to get the Maven Version of a project in Jenkins?

Follow the below steps: 1.      Install the Groovy ...READ MORE

answered Aug 9, 2018 in Jenkins by Sophie may
• 9,430 points
371 views
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

How to auto build a job in jenkins if there is any change in code on Github repository?

Yes this is possible. Follow these steps. 1. ...READ MORE

answered Jun 20 in Jenkins by Arvind
• 1,530 points
53 views
0 votes
1 answer

how to manually install plugins in Jenkins?

For this purpose you need to have ...READ MORE

answered Jun 20 in Jenkins by Arvind
• 1,530 points
22 views