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.
/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
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 in the file and restarted Jenkins:
1 2 3
Sure enough, the login issue is fixed!