jenkins password reset

Posted szllq2000

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了jenkins password reset相关的知识,希望对你有一定的参考价值。

 
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的主要内容,如果未能解决你的问题,请参考以下文章

TemplateDoesNotExist 在 /account/password_reset_confirm/MQ/set-password/registrationpassword_reset_co

Django 2.1.2 密码重置身份验证视图:找不到“password_reset_confirm”的反向

/password_reset/done/ 处的 NoReverseMatch

ImportError:无法导入名称'password_reset'

模板 password_reset_form.html 不会覆盖 django 管理模板

Route [password.reset] 未在 Laravel 5.4 中的 ResetPasswords.php 中定义