Have you ever wondered how to provide additional security to your Linux desktop? Google Authenticator can help provide a two-step authentication process that requires both an authentication token and your password to log into your Linux desktop. This would require that an attacker know both your password and have your authentication device to successfully log in to your system.
A pluggable authentication module (PAM) is a way to integrate authentication methods into an API that enables different programs to be developed independent of the underlying OS authentication scheme. Linux provides a PAM system which we would take advantage of in this tutorial to integrate an additional check, along with user password, to grant access to the system.
How to Log in to Linux Desktop With Google Authenticator http://www.maketecheasier.com/login-linux-desktop-google-authenticator/
I think I’ll give 2 factor authentication a whirl on my laptop this weekend. What could possibly go wrong?