标签:Jenkins 帐号密码
Jenkins在配置全局安全配置中忘记配置帐号admin权限致使所有帐号都只有普通权限,解决方法如下,将如下几行删除,然后重启再登陆就恢复到了默认状态。# vim /var/lib/jenkins/config.xml <useSecurity>true</useSecurity> <authorizationStrategy class="hudson.security.LegacyAuthorizationStrategy"/> <securityRealm class="hudson.security.HudsonPrivateSecurityRealm"> <disableSignup>false</disableSignup> <enableCaptcha>false</enableCaptcha> </securityRealm> # systemctl restart jenkins
标签:Jenkins 帐号密码
原文地址:http://blog.51cto.com/wangzhijian/2084400