You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
The original google-authenticator-libpam verifies the code in the login server. If the server is hacked, all the secret will be lost. To improve the security for the system, the code is modified to verify the code in remote server. The code is sent to another python socket server called ClientServer through unix file. The the code then is sent to Server to verify. The Server connects with mysql to get the otp secret to verify.
Install google-authenticator-libpam
cd google-authenticator-libpam./bootstrap.sh./configuremakecp .libs/pam_google_authenticator.so /usr/lib64/security
Config google-authenticator-libpam
Theuser parameter must be set in/etc/pam.d/sshd
Thesocket parameter must be set to connect with ClientServer and is should be the same withSOCK_ADDR inconfig.py
Other setting is the same in original google-authenticator-libpam
The following parameters do not work any more: secret, noskewadj, grace_period