Skip to content

Instantly share code, notes, and snippets.

@zabih-alipour
Created October 30, 2017 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zabih-alipour/2cefa2413ca91d5318078f8f327a37b2 to your computer and use it in GitHub Desktop.
Save zabih-alipour/2cefa2413ca91d5318078f8f327a37b2 to your computer and use it in GitHub Desktop.
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'
//------------- To Reset individual password:
Go to /opt/bitnami/apps/jenkins/jenkins_home/users/gmhawash
Edit config.xml file
Remove the passwordHash tag (you can now log in without password)
//------ refer: https://gist.github.com/gmhawash/4043232
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment