Open fraenki opened 1 month ago
When using this module, PAM authentication does not seem to work out-of-the-box:
Sep 16 17:45:46 host.example.com unix_chkpwd[54472]: check pass; user unknown Sep 16 17:45:46 host.example.com unix_chkpwd[54472]: password check failed for user (myuser) Sep 16 17:45:46 host.example.com python3.9: pam_unix(jupyterhub-login:auth): authentication failure; logname= uid=990 euid=990 tty= ruser= rhost= user=myuser
I've changed /usr/lib/systemd/system/jupyterhub.service to let the service run as root and this immediately fixed the issue. So there seems to be something missing for proper PAM authentication.
/usr/lib/systemd/system/jupyterhub.service
root
Is this a known issue? Any hints?
This was tested on Rocky 8 using the patch from https://github.com/ComputeCanada/puppet-jupyterhub/pull/60.
When using this module, PAM authentication does not seem to work out-of-the-box:
I've changed
/usr/lib/systemd/system/jupyterhub.service
to let the service run asroot
and this immediately fixed the issue. So there seems to be something missing for proper PAM authentication.Is this a known issue? Any hints?
This was tested on Rocky 8 using the patch from https://github.com/ComputeCanada/puppet-jupyterhub/pull/60.