What is the default Jenkins password?

前端 未结 19 2295
情话喂你
情话喂你 2020-12-01 04:11

I\'m using a EC2 server instance. Used the following to install Jenkins:

wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add          


        
19条回答
  •  半阙折子戏
    2020-12-01 04:32

    Here is how you can fix it:

    • Stop Jenkins
    • Go go edit /var/lib/jenkins/config.xml
    • Change true to false
    • Restart Jenkins: sudo service jenkins restart
    • Navigate to the Jenkins dashboard to the "Configure Security" option you likely used before. This time, setup security the same as before, BUT set it to allow anyone to do anything, and allow user signup.
    • Go to www.yoursite.com/securityRealm/addUser and create a user
    • Then go change allow anyone to do anything to whatever you actually want users to be able to do. In my case, it is allow logged in users to do anything.

提交回复
热议问题