Webmin fails to install Authen::OATH (Google / 2 factor authenticator)

If you have trouble installing two factor from within Webmin you need to first install Perl-CPAN.

I have come across this issue in both CentOS and Debian.

Open shell and issue the following commands:

yum -y install perl-CPAN

Now, install the following:

perl -MCPAN -e "install Test::Moose"
perl -MCPAN -e "install Types::Standard"
perl -MCPAN -e "install Moo"
perl -MCPAN -e "install Authen::OATH"

Now go ahead and install 2 factor auth within Webmin

Print Friendly, PDF & Email

More Like This


Categories


Linux Web Hosting

Tags


Comments
  • norman February 24, 2019 at 8:21 am

    thank you so much, your solution works. i have google many website but all steps failed.

  • vasile June 26, 2019 at 8:07 pm

    Very good explanation. Thank you!

  • Post a comment