修改密码

/root/.jenkins/users/apple/config.xml
passwordHash节点即为密码
以下密码为123456

#jbcrypt:$2a$10$vK1PuR574iT2Yo1k9Rhl7upxu/tWktUS3uRdweSZsD3pbsi.S7MUe

修改权限

/root/.jenkins/config.xml 去掉以下节点值

<useSecurity>true</useSecurity>
<authorizationStrategy class="hudson.security.AuthorizationStrategy$Unsecured"/>
<securityRealm class="hudson.security.HudsonPrivateSecurityRealm">
<disableSignup>false</disableSignup>
<enableCaptcha>false</enableCaptcha>
</securityRealm>

相关文章:

  • 2021-12-19
  • 2022-02-26
  • 2022-12-23
  • 2021-12-06
  • 2021-10-28
  • 2022-12-23
猜你喜欢
  • 2021-10-09
  • 2021-05-24
  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2021-06-05
  • 2021-09-11
相关资源
相似解决方案