KISS 🇺🇦

Stop the war!

Stop the war in Ukraine! Fuck putin!

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.

Jenkins: admin is missing the Overall/Read permission

| comments

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 sshd 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:

1
2
3
<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:

1
2
3
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!

Comments