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
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