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 tty login via pam_linotp.so #11

Open
pmiriyev opened this issue Jan 18, 2021 · 0 comments
Open

pam tty login via pam_linotp.so #11

pmiriyev opened this issue Jan 18, 2021 · 0 comments

Comments

@pmiriyev
Copy link

Hello, trying to set up tty login on server via pam_linotp.so but cant get it working, here is config: /etc/pam.d/login

#%PAM-1.0
auth [success=1 default=ignore] pam_linotp.so
url=https://linotp.server.com/validate/simplecheck hide_otp_input
auth requisite pam_deny.so
auth required pam_permit.so
auth requisite pam_nologin.so
#auth include common-auth
account include common-account
password include common-password
session required pam_loginuid.so
session optional pam_keyinit.so force revoke
session include common-session
#session optional pam_lastlog.so nowtmp showfailed
session optional pam_mail.so standard

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