Menu

#4790 Google Auth

1.801
open
nobody
None
5
2016-07-23
2016-07-20
tire88744
No

I am attempting to enable two factor authentication using Google Authenticator as the provider.
I've installed the Authen::OATH perl module (perl-Authen-OATH-1.0.0-8.3.noarch.rpm) which when viewing exisiting modules in Webmin it shows in the list (see screen)

3 Attachments

Discussion

  • tire88744

    tire88744 - 2016-07-20

    When I go to enable two-factor Auth by selecting (google auth) from the Authenticator dropdown menu (GoogleAuth screen) it fails to complete saying I need to have Authen:Oath installed (see error screen). Which as you can see from scree AuthenOath it is on the system already. Is there something I am missing or is this a bug?

     
  • Jamie Cameron

    Jamie Cameron - 2016-07-21

    If you SSH into the system and run perl -e 'use Authen::OATH' , what errror message do you get?

     
    • tire88744

      tire88744 - 2016-07-22

      Can't locate Digest/HMAC.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.10.0/Authen/OATH.pm line 16.
      BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/Authen/OATH.pm line 16.
      Compilation failed in require at -e line 1.
      BEGIN failed--compilation aborted at -e line 1.

       
  • tire88744

    tire88744 - 2016-07-21
     

    Last edit: tire88744 2016-07-22
  • Jamie Cameron

    Jamie Cameron - 2016-07-22

    Odd that Digest::HMAC didn't get installed as a dependency of the perl-Authen-OATH RPM.

    Try running yum install perl-Digest-HMAC

     
    • tire88744

      tire88744 - 2016-07-22

      Thanks! I've installed perl-Digest_HMAC as you suggested. I again run perl -e 'use Authen::OATH' and get the following new output.

      Can't locate Moose.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.10.0/Authen/OATH.pm line 18.
      BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.10.0/Authen/OATH.pm line 18.
      Compilation failed in require at -e line 1.
      BEGIN failed--compilation aborted at -e line 1.

       
  • Jamie Cameron

    Jamie Cameron - 2016-07-23

    Wow, that module sure has a lot of dependencies! Maybe you also need to run yum install perl-Moose

     

Log in to post a comment.

MongoDB Logo MongoDB