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 failed #35

Closed
mrmodolo opened this issue Jul 16, 2018 · 1 comment
Closed

PAM Authentication failed #35

mrmodolo opened this issue Jul 16, 2018 · 1 comment

Comments

@mrmodolo
Copy link

Hi!

I'm testing the 'systemd spawn' service but I always end up with an authentication error.
I check the following error logs:

Jul 15 21:05:40 jupyter jupyterhub: [W 2018-07-15 21:05:40.257 JupyterHub auth:618] PAM Authentication failed ([email protected]): [PAM Error 7] Authentication failure
Jul 15 21:05:40 jupyter jupyterhub: [W 2018-07-15 21:05:40.259 JupyterHub base:504] Failed login for modolo
Jul 15 21:05:40 jupyter jupyterhub: [I 2018-07-15 21:05:40.263 JupyterHub log:158] 200 POST /hub/login?next= (@192.168.122.1) 1808.99ms

The IP of the machine is '192.168.122.197/24' but by logging the authentication is done in [email protected]!

[modolo@jupyter ~]$ sudo cat /etc/systemd/system/jupyterhub.service
[Service]
ExecStart=/opt/anaconda3/bin/jupyterhub --debug --ip 192.168.122.197 --no-ssl --config /etc/jupyterhub/jupyterhub_config.py
Environment=PATH=/opt/anaconda3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
ReadOnlyDirectories=/
ReadWriteDirectories=/var/lib/jupyterhub /var/log/ /proc/self/ /var/local/lib/jupyterhub
WorkingDirectory=/var/local/lib/jupyterhub
CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_AUDIT_WRITE CAP_SETGID CAP_SETUID
#PrivateDevices=yes
#PrivateTmp=yes

Thanks,
Marcelo Módolo

@consideRatio
Copy link
Member

I'll go for a close on this as its a bit outdated to work now, but related to this is:

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

2 participants