freejak13
Hi. I'm using PAM authentication and have been playing with the /etc/pam.d/openvpnas file for a while but not having any luck getting google auth to kick in for certain users. I tried adding this to the file:
auth [success=1 default=ignore] pam_succeed_if.so quiet user notingroup gauth
auth required pam_google_authenticator.so
and assigned a user I wanted to use google auth with to the gauth group. This doesn't seem to work though as any google auth code I enter gets rejected. Hoping someone can point me in the right direction. Thanks!