What is the default Jenkins password?

0 votes

I'm using a EC2 server instance but I need to install software on the Jenkins server.

I’ve used this command:

sudo –s –H –u jenkins
sudo cabal install quickcheck

But then it asked for a password and I cant find it anywhere

Aug 9, 2018 in Jenkins by lina
• 8,100 points
3,691 views

5 answers to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
Try this:

-stop jenkins

- go and edit /var/lib/jenkins/config.xml

- Change <useSecurity>true</useSecurity> 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.
answered Aug 9, 2018 by Kalgi
• 36,340 points
0 votes
jenkins default administrator password is logged in log file in ubuntu

log file is situated in /var/log/jenkins/jenkins.log folder

password will be placed after this, Jenkins initial setup is required. An admin user has been created and a password generated. Please use the following password to proceed to installation
answered Aug 10, 2018 by Nilesh
• 6,900 points
0 votes

Just execute the following command:

sudo passwd jenkins

This should display the password of your Jenkins

answered Apr 22 by Haider
Hey Thanks @Haider, worked like a charm!
0 votes

You can get your initial admin password for Jenkins in the following location:

sudo cat /Users/Shared/Jenkins/Home/secrets/initialAdminPassword
answered Apr 22 by Linda
0 votes

Change the shell to /bin/bash instead of bin/false and you should be able to log in without password by sudo su - jenkins.

Command to change the shell is:

chsh -s /bin/bash jenkin
answered Apr 22 by Vinod

Related Questions In Jenkins

0 votes
1 answer
+1 vote
1 answer

What is the difference between Hudson and Jenkins?

Jenkins and Hudson are Continuous Integration tool, ...READ MORE

answered 2 days ago in Jenkins by Neel
• 380 points
13 views
0 votes
1 answer
+1 vote
4 answers
+13 votes
2 answers
0 votes
1 answer
+1 vote
3 answers
0 votes
2 answers

will running multiple Jenkins masters on same host increase the performance?

While using one big master, u can ...READ MORE

answered Aug 7, 2018 in Jenkins by Kalgi
• 36,340 points
326 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.