Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAM authentication not working #63

Open
fraenki opened this issue Sep 16, 2024 · 0 comments
Open

PAM authentication not working #63

fraenki opened this issue Sep 16, 2024 · 0 comments

Comments

@fraenki
Copy link

fraenki commented Sep 16, 2024

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.

Is this a known issue? Any hints?

This was tested on Rocky 8 using the patch from #60.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant