
This generates a QR code on the screen, a secret key, and recovery codes. Do you want authentication tokens to be time-based (y/n) y For most of these questions, answer yes ( y), unless you need something other than the default. Run the following command to begin the configuration process: # google-authenticator Next, configure google-authenticator to generate OTP codes.
#Issues with a linux server setup for multiple users install#
To do so, open a Terminal window and run the following command: # sudo dnf install google-authenticator -y Implement the Google Authentication moduleįirst, install the Google Authentication module on a Linux machine. In this article, we use the Google PAM module to enable MFA so users can log in by using time-based one-time password (TOTP) codes. Pluggable Authentication Modules (PAM) are the authentication mechanism used in Linux. The additional information may be a one-time password (OTP) sent to your cell phone via SMS or credentials from an app like Google Authenticator, Twilio Authy, or FreeOTP. Multi-factor authentication requires users to provide more than one piece of information to authenticate successfully to an account or Linux host. When you SSH into a Linux machine, you may be asked for an SSH key pair. Usually, when you sign in to an account or device, you are asked for a username and password. Multi-factor authentication (MFA) is a method of requiring more than one credential to prove your identity.

One way to achieve added security is by adding an extra layer of authentication.

With the rising number of breaches and password compromises, we need as many security layers as possible. Linux system administration skills assessment.

A guide to installing applications on Linux.
