What is the default Jenkins password?

前端 未结 19 2241
情话喂你
情话喂你 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:50

    By default, Jenkins account is created without password and with the login shell as /bin/false.

    jenkins:x:496:493:Jenkins Continuous Integration Server:/var/lib/jenkins:/bin/false
    

    Change the shell to /bin/bash and you should be able to login without password by sudo su - jenkins.

    Command to change the shell is:

    chsh -s /bin/bash jenkin
    

提交回复
热议问题