Skip to content

Instantly share code, notes, and snippets.

@JT501
Last active November 17, 2019 06:16
Show Gist options
  • Save JT501/6e7ca8269d2a0069009e2baf2079f298 to your computer and use it in GitHub Desktop.
Save JT501/6e7ca8269d2a0069009e2baf2079f298 to your computer and use it in GitHub Desktop.
Webmin: Install Authen::OATH for 2FA

Webmin: Install Authen::OATH for 2FA

For people having trouble running the CPAN or MCPAN commands via command line or through the Perl Module manager in Webmin (meaning it fails to install via CPAN so it tried to install via source), you need to first install CPAN:

yum -y install perl-CPAN

Update CPAN if needed.

And the approximate sequence of commands thereafter:

perl -MCPAN -e "install Test::Moose"

perl -MCPAN -e "install Types::Standard"

perl -MCPAN -e "install Moo"

perl -MCPAN -e "install Authen::OATH"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment