How to Setup Multi-Factor Authentication (MFA) in Ubuntu
Tutorial on setting up MFA in Ubuntu 18.04 with Google Authenticator app linked to an Android smartphone / tablet.
This will add multi-factor auth to your initial login and sudo.
Instructions:
$ sudo apt install libpam-google-authenticator
$ sudo nano /etc/pam.d/common-auth
Locate the following line:
auth [success=1 default=ignore] pam_unix.so nullok_secure
add the following line above:
auth required pam_google_authenticator.so echo_verification_code
Save changes
$ google-authenticator
Authenticator App:
https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2
Like my channel? Please help support it:
Patreon: https://www.patreon.com/quidsup
Paypal: https://www.paypal.me/quidsup
Follow me on Social Media
Google+ https://google.com/+quidsup
Twitter: https://twitter.com/quidsup
Minds: https://minds.com/quidsup