Skip to content

Instantly share code, notes, and snippets.

@enixdark
Forked from gmhawash/gist:4043232
Created February 2, 2017 05:55
Show Gist options
  • Save enixdark/b5e9f30a9a78e50512e66a0b22bd9b19 to your computer and use it in GitHub Desktop.
Save enixdark/b5e9f30a9a78e50512e66a0b22bd9b19 to your computer and use it in GitHub Desktop.
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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment