码迷,mamicode.com
首页 > 其他好文 > 详细

jenkins password reset

时间:2016-06-26 12:40:57      阅读:871      评论:0      收藏:0      [点我收藏+]

标签:

 
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:
1. Go to /opt/bitnami/apps/jenkins/jenkins_home/users/gmhawash
2. Edit config.xml file
3. Remove the passwordHash tag (you can now log in without password)

 

jenkins password reset

标签:

原文地址:http://www.cnblogs.com/SZLLQ2000/p/5617563.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!