jenkins用户权限问题解决
工作遇到一个问题,由于误操作,在JENKINS后台管理页面把admin的管理权限弄丢了,经过研究可以登录后台,修改JENKINS_HOME中的config.xml文件中的内容,为admin重新赋予权限:
config.xml:
<?xmlversion='1.0'encoding='UTF-8'?>
<hudson>
<version>1.382</version>
<numExecutors>1</numExecutors>
<mode>NORMAL</mode>
<useSecurity>true</useSecurity>
<authorizationStrategyclass="hudson.security.ProjectMatrixAuthorizationStrategy">
<permission>hudson.model.Computer.Configure:admin</permission>
<permission>hudson.model.Computer.Delete:admin</permission>
<permission>hudson.model.Hudson.Administer:admin</permission>
<permission>hudson.model.Hudson.Read:admin</permission>
相关推荐
leonranri 2020-07-26
达观数据 2020-11-11
汪康 2020-10-30
ppppfly 2020-10-24
synshitou 2020-10-21
programmeryu 2020-09-24
Topbeyond 2020-08-21
lrcoop 2020-08-18
young依然 2020-08-17
oden 2020-08-16
lrcoop 2020-08-15
yserver 2020-08-15
王永迪 2020-08-15
pursuemylife 2020-08-14
pandaphinex 2020-08-09
CloasGao 2020-07-21
zccheu 2020-07-18