-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Ubuntu 20.04
NIS users are unable to authenticate unless Jenkins services is started as root:
Jun 1 unix_chkpwd[5063]: check pass; user unknown
Jun 1 unix_chkpwd[5064]: check pass; user unknown
Jun 1 unix_chkpwd[5064]: password check failed for user
I have tried adding "jenkins" to group "shadow" and granting read permissions to /etc/shadow for the group but having no luck. Tried also to downgrade to v1.6 but that didn't help. We do have it working on a Redhat box when run as "jenkins" with Jenkins v2.204.6. Do we need to downgrade Jenkins on the Ubuntu box to the older version?
FYI, both "sshd" and "passwd" tests pass under the "Advanced" setting. From what I can tell, PAM is not checking or unable to check NIS. Accounts that exist in /etc/passwd can login to jenkiins though.