Pricing  Get Quote

ADSelfService Plus in action

How to set up multi-factor authentication for Linux logins

For its architecture and compatibility, Linux has always been a popular operating system among IT professionals who handle critical workloads in cloud computing environments. However, this widely used OS is also susceptible to data breaches and attacks. Using endpoint multi-factor authentication (MFA) is essential for organizations to protect their machines and the network they're on. Having more than one factor of identity authentication will reduce the chances of hackers stealing credentials and breaching an organization's network.

Linux multi-factor authentication setup

ADSelfService Plus, an integrated Active Directory self-service password management and single sign-on solution, provides an additional layer of security for Linux users with endpoint MFA. This feature, when enabled, will allow users to access their machines after authenticating successfully through their Active Directory credentials and any of ADSelfService Plus' MFA methods.

ADSelfService Plus supports 18 different authentication methods for MFA during Linux login including:

  • Fingerprint/Face ID Authentication
  • YubiKey Authentication
  • Google Authenticator
  • Microsoft Authenticator
  • Azure AD MFA
  • Push Notification Authentication, and more

Even if a hacker manages to gain a user's credentials through brute force attacks or credential stuffing, they are unlikely to have access to the user's email or phone to be able to go through the second factor of authentication.

So how do you set up MFA for Linux logins? Follow the steps below.

Enable multi-factor authentication for Linux


  • Endpoint MFA: Your ADSelfService Plus license must include Endpoint MFA. Visit the store to purchase it.
  • SSL must be enabled: Log in to the ADSelfService Plus web console with admin credentials. Navigate to the Admin tab → Product Settings → Connection. Select the ADSelfService Plus Port [https] option. Refer to this guide to learn how to apply a SSL certificate and enable HTTPS.

    Set up multi-factor authentication for Linux logins

  • Access URL must be set to HTTPS: Navigate to Admin > Product Settings > Connection > Connection Settings > Configure Access URL and set the Protocol option to HTTPS.

    Set up multi-factor authentication for Linux logins

Step 1: Install ADSelfService Plus' Linux login agent through the admin console.

  1. Go to Configuration → Administrative Tools → GINA/Mac/Linux (Ctrl+Alt+Del).
  2. Set up multi-factor authentication for Linux logins

  3. Click GINA/Mac/Linux Installation.
  4. Choose the required domain from the drop-down in the New Installation section.
  5. Set up multi-factor authentication for Linux logins

  6. Click Add OUs to select the OUs for which the logon agent should be installed.
  7. Check the boxes next to the computers to which the logon agent needs to be pushed.
  8. Click Install.

Step 2: Enable authenticators

  1. Go to Configuration → Self-Service → Multi-factor Authentication → Authentication Setup.
  2. Select the type of authenticator you want to enable.
  3. Set up multi-factor authentication for Linux logins

  4. Each authenticator comes with its own group of settings. Enter the required information in the appropriate fields. If you choose Google Authenticator, Microsoft Authenticator, or TOTP Authenticator, just select the enable button.
  5. Set up multi-factor authentication for Linux logins

Step 3: Enable multi-factor authentication for Linux

  1. Go to Configuration → Self-Service → Multi-factor Authentication → MFA for Endpoints

    Set up multi-factor authentication for Linux logins

  2. Choose the Policy from the drop-down.


    1. ADSelfService Plus allows you to create OU and group-based policies. To create a policy, go to Configuration → Self-Service → Policy Configuration → Add New Policy. Click Select OUs/Groups, and make the selection based on your requirements. You need to select at least one self-service feature. Finally, click Save Policy.
  3. In the MFA for Machine Login section, check the Enable __ factor authentication box, select the number of authentication methods, and specify which ones you'd like to use from the drop-down.
  4. Click Save Settings.

And that's it! You've successfully configured MFA for Linux systems.

Set up multi-factor authentication for Linux logins

Your users' accounts will have better security, thanks to ADSelfService Plus' endpoint multi-factor authentication feature.

Some useful features of ADSelfServicePlus

  • 1
    Self-service password reset
  • 2
    Password policy enforcer
  • 3
    Password expiration notification
  • 4
    Directory self-update

Self-service password reset:

With ADSelfService Plus, users can reset their own passwords without help from the IT team, saving valuable time for the help desk. All users have to do is verify their identity through one or more authentication methods, and they're good to reset their passwords.

Password policy enforcer:

Users are required to create strong passwords thanks to the password policy enforcer feature in ADSelfService Plus. This feature prevents users from using palindromes, dictionary words, and certain patterns (example: qwerty, 1234) as passwords.

Password expiration notification:

ADSelf Service Plus keeps track of users' password expiration dates in Active Directory and sends email notifications to users whose passwords are about to expire.

Directory self-update:

Using ADSelfService Plus, admins can set up a layout with various fields for just the information that they need from users. The users can self-update their Active Directory information, saving valuable help desk time.

Tighten Windows/macOS/Linux logon security with multi-factor authentication.

Get Your Free Trial Fully functional 30-day trial

See this feature inaction now!

By clicking 'Talk to an expert', you agree to processing of personal data according to the Privacy Policy.

ADSelfService Plus trusted by

Embark on a journey towards identity security and Zero Trust
Email Download Link