May I ask how to enable PAM authentication in Kops Kubernetes zero to Jupyterhub on AWS ubuntu instance?
I tried dummyAuthenticator and Github login, both could work, but pam cannot.
Currently my configuration file is
hub: config: LocalAuthenticator: create_system_users: True delete_invalid_users: True Authenticator: admin_users: - user1 allowed_users: - user3 #says deprecated, use allowed_users instead of whitelist #whitelist: # - gycc7253 # blocked_users: # - user5 # - user6 #PAMAuthenticator: open_sessions: False JupyterHub: authenticator_class: pam
and the logs says
When loggin in via my ubuntu’s users password and id
PAM Authentication failed (user1@::ffff:100.96.1.1): [PAM Error 7] Authentication failure
Seems like the jupyterhub does not have permission to create user, probably unable to read the password from shadow file.
But then I am not sure how to do it.
Anyone can help?
Thank you very much in advance!