11/9/2012 - 1:54 AM

Reset jenkins password

Reset jenkins password

0. SSH to server
1. Edit /opt/bitnami/apps/jenkins/jenkins_home/config.xml

2. set userSecurity to false: <userSecurity>false</userSecurity>

3. delete
<authorizationStrategy> and <securityRealm>

4. /etc/init.d/bitnami restart

Now Jenkins should be open:

5. Select Configure Jenkins,
    "Enable Security", 
      "Use Jenkin's own database"
      "Allow users to sign up"

6. Under Authorization, select:  "Matrix-based security"
   and add users and give them all permissions, 
   and remove all permissions from 'anonymous'