添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
睡不着的山楂  ·  命令行选项 — ...·  7 月前    · 
成熟的梨子  ·  RUA·  8 月前    · 
愤怒的毛巾  ·  大慈树王_百度百科·  1 年前    · 

More information is at: https://war.ukraine.ua/ .

There is a fund to support the Ukrainian Army: https://savelife.in.ua/en/donate/ , and there is a special bank account that accepts funds in multiple currencies: https://bank.gov.ua/en/about/support-the-armed-forces . I donated to them. Please donate if you can!

Killer putin

Killer putin. Source: politico.eu .

Arrested putin

"It hasn't happened yet, but it will happen sooner or later. Beautiful photo, isn't it?" Source: twitter .

I stumbled upon this issue recently: somebody has created an admin user in a fresh Jenkins installation (most likely, through the normal Jenkins interface). However, after a few days, they couldn’t login as the admin , seeing this error:

admin is missing the Overall/Read permission

I couldn’t find a definite answer to the issue online. So I ssh d into the jenkins box to see if I could figure something out there. I did.

In the $JENKINS_HOME directory, /Users/Shared/Jenkins/Home/ in my case, there is the users/ directory which stores some user info, and it had an admin directory. So far so good. The user seemed to be alive.

I went to $JENKINS_HOME/config.xml and it had permission tags like this:

<permission>hudson.model.Computer.Build:Admin</permission>
<permission>hudson.model.Computer.Configure:Admin</permission>
<permission>hudson.model.Computer.Connect:Admin</permission>

Do you see any inconsistency? Yes, the Admin user here starts with a capital letter for some reason. Could that be a problem? I changed all Admin to admin in the file and restarted Jenkins:

sed -i '' -e 's/:Admin/:admin/g' Home/config.xml
launchctl stop org.jenkins-ci
launchctl start org.jenkins-ci

Sure enough, the login issue is fixed!

About Me

Hi there! Nice to have you here.

My name is Eugene and I'm a software developer. This blog is about my thoughts, discoveries, and experiences in IT, computers, software development, and maybe something else. My current programming languages: php, Haskell, typescript, shell scripting; I'm also familiar with Swift, Objective-C, Python, Java.