google / google-authenticator-libpam

Apache License 2.0
1.76k stars 281 forks source link

he asks me again for credentials after one hour #157

Closed ghost closed 4 years ago

ghost commented 4 years ago

I have the following configuration:

auth requisite /lib/x86_64-linux-gnu/security/pam_google_authenticator.so secret=/etc/google-authenticator/${USER}/.google_authenticator forward_pass debug echo_verification_code
auth required pam_unix.so use_first_pass

account [success=1 new_authtok_reqd=done default=ignore]        pam_unix.so

account requisite                       pam_deny.so

account required                        pam_permit.so

I get in the vpn client killing expired key why is this???

ThomasHabets commented 4 years ago

What is this, openvpn? This is a question for whatever program you're using PAM with.

ghost commented 4 years ago

¿Qué es esto, openvpn? Esta es una pregunta para cualquier programa con el que esté utilizando PAM.

already but I have implemented openvpn with this module as and then it disconnects me at the time it may be that I have to establish a grace period as the documentation says

ThomasHabets commented 4 years ago

This is a question for openvpn.