---

How to Enable Two-Factor Authentication on Ubuntu

In this quick guide, you will see, how to enable the 2-Factor authentication on Ubuntu.This guide can also be used on its derivatives.

Before we start, let’s recap. “What is two-factor authentication?” Simply put, it’s an extra layer of protection that you can be put on things that have passwords so that you are required to provide a time-based token for authentication addition to the password. Now, let’s set it up on Ubuntu.