Re: [webmin-l] webmin 2fa w/ google / missing perl authen::OATH error

"Fabian A. Santiago" <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>
On January 13, 2018 1:41:17 AM EST, Jamie Cameron <[email protected]> wrote:
>On 11/Jan/2018 14:48 Fabian A. Santiago <[email protected]>
>wrote ..
>> Hello,
>> 
>> I'm running centos 7.4.1708 & webmin 1.870.
>> 
>> I'm trying to setup 2fa w/ google but it keeps complaining I'm
>missing perl authen::OATH.
>> 
>> i have installed it already and restarted everything, even the server
>itself (it's
>> a VPS). i have root shell access. i can also run:
>> 
>> perl -e 'use Authen::OATH;'
>> 
>> and it returns nothing which i understand means it's working. 
>> 
>> i installed it via CPAN.
>> 
>> Strange thing is I tried this on another server and it worked fine
>there. What
>> is the difference here? The other server is identical. I installed
>webmin from
>> the repo via yum on both. 
>> 
>> I'm scratching my head and feel lost....haha. Anyway, unsure how to
>proceed. anyone?
>> Thanks. 
>
>That's unusual - can you post the full error message that you're
>getting in Webmin?
>
>------------------------------------------------------------------------------
>Check out the vibrant tech community on one of the world's most
>engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>-
>Forwarded by the Webmin mailing list at
>[email protected]
>To remove yourself from this list, go to
>http://lists.sourceforge.net/lists/listinfo/webadmin-list

"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."

If I try the perl modules pages it tries yum first futilely. Then tries Perl but it keeps failing there for missing dependencies. But if I check each one, they're installed (I tried the first couple and just assumed the rest and stopped). 

--

Thanks,

Fabian S.

OpenPGP: 3C3FA072ACCB7AC5DB0F723455502B0EEB9070FC

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.