其他分享
首页 > 其他分享> > jenkins 管理员密码重置

jenkins 管理员密码重置

作者:互联网

修改admin的加密密码为123456的加密密码

#jbcrypt:$2a$10$MiIVR0rr/UhQBqT.bBq0QehTiQVqgNpUGyWW2nJObaVAM/2xSQdSq

vim /root/.jenkins/users/admin/config.xml <hudson.security.HudsonPrivateSecurityRealm_-Details>

<passwordHash>#jbcrypt:$2a$10$MiIVR0rr/UhQBqT.bBq0QehTiQVqgNpUGyWW2nJObaVAM/2xSQdSq</passwordHash>

</hudson.security.HudsonPrivateSecurityRealm_-Details>

修改保存之后,再重启jenkins即可

标签:10,bBq0QehTiQVqgNpUGyWW2nJObaVAM,重置,UhQBqT,管理员,MiIVR0rr,jenkins,jbcrypt
来源: https://www.cnblogs.com/xingyunfashi/p/14930619.html