Search The Hostwinds Guides Knowledge Base

How To Enable Two Factor Authentication in Virtualmin

Share This Article [TheChamp-Sharing]

With Virtualmin, you can easily enable two factor authentication with a few simple clicks. In this article we’ll go over how you can enable two factor authentication to further secure your Virtualmin login. This article implies that you have already installed Virtualmin onto your server. If you have not yet done please refer to our guide on Installing Virtualmin (CentOS 7). You’ll also need to login to your Virtualmin control panel and have Webmin access. If you’re not certain how to do this, please refer to the article: How To Login To Webmin. Once you’re logged in, please proceed with the following steps.


  1. Click on the Webmin section
  2. Select the Webmin option
  3. Select the Webmin Configuration module


Showing the Webmin Configuration module


  1. Click on the Two-Factor Authentication module


Showing the Two Factor Authentication location


  1. Select your authentication provider
    1. For the purpose of this article I will be selecting Google Authenticator
  2. Click the Save button



  1. When using Google Authenticator a QR code will display that you can scan using the Authenticator app on your smartphone.


You should now have Two-Factor authentication enabled for Virtualmin!


Helpful Related Articles