These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Stuck in a loop trying to enable 2 factor auth in Webmin on the new forum.
When trying to enable Google Authenticator on a CentOS 7 box I get:
Failed to save two-factor authentication : The Perl module Authen::OATH needed for two-factor authentication is not installed. Use the Perl Modules page in Webmin to install it.
So I follow the link, it installs it and I get:
Make and install of Authen::OATH successful.
CPAN also reports:
Loading internal null logger. Install Log::Log4perl for logging messages
Database was generated on Thu, 25 Aug 2016 20:29:02 GMT
Authen::OATH is up to date (2.0.0).
However going back to enable Google Authenticator yields the same message as above, telling me that the I need to install the module.
Help me out please!