首页 > 其他 > 详细

jenkins password reset

时间:2016-06-26 12:40:30      阅读:255      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!