How to Setup Multi-Factor Authentication (MFA) in Ubuntu

Channel:
Subscribers:
54,600
Published on ● Video Link: https://www.youtube.com/watch?v=8JdY1QtuYoQ



Category:
Tutorial
Duration: 5:16
7,808 views
237


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







Tags:
MFA
2FA
Multifactor Authentication
Android Authenticator
Ubuntu
Tutorial
How to
Linux
Computing
Quidsup
Google Authenticator