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,220 points
44,152 views

5 answers to this question.

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
• 52,360 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
• 7,050 points
0 votes

Just execute the following command:

sudo passwd jenkins

This should display the password of your Jenkins

answered Apr 23, 2019 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 23, 2019 by Linda
Thanks..! Really help alot.
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 23, 2019 by Vinod

Related Questions In Jenkins

0 votes
2 answers

What is the command to restart jenkins through command line in linux?

On Ubuntu or Debian, when installed through apt-get/dpkg: $ ...READ MORE

answered Aug 1, 2019 in Jenkins by Sirajul
• 59,230 points
20,027 views
+1 vote
1 answer

What is the difference between Hudson and Jenkins?

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

answered Jun 17, 2019 in Jenkins by Neel
• 3,020 points
4,182 views
0 votes
1 answer

What is the difference between the Jenkins jobs which are in workspace directory and jobs directory

Hi@Shashi, These folders have different meanings in Jenkins. If ...READ MORE

answered Oct 21, 2020 in Jenkins by MD
• 95,440 points
3,461 views
0 votes
1 answer

What is the use of using declarative pipeline (i.e jenkins file) over scripted pipeline in real time

Hi@Shashi, The declarative pipeline is a relatively new ...READ MORE

answered Oct 28, 2020 in Jenkins by MD
• 95,440 points
1,136 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,458 views
+2 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
• 52,360 points
3,012 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP