修改密码
/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>