Oline IT:Blog
Innovation Technology
Showing posts with label
2FA
.
Show all posts
Showing posts with label
2FA
.
Show all posts
Tuesday, September 20, 2022
Two-Factor Authentication (2FA) for Webmin with Google Authenticator
First install Perl Modules :
https://blog.olineit.com/2022/09/install-perl-cpan-module-in-centos-8.html
Then follow the instructions as given through the URL:
https://devtutorial.io/how-to-install-two-factor-authentication-2fa-for-webmin-p2845.html
Install Perl CPAN Module in CentOS 8
dnf install perl-CPAN
dnf install "@Development Tools"
perl -MCPAN -e 'install Authen::OATH'
cpan -i Geo::IP OR
cpan Geo::IP
cpan
cpan[1]>
install Log::Log4perl
OR
You need gcc.:
yum install gcc
Get CPAN:
yum install CPAN
Configure CPAN ( just run CPAN ):
CPAN
After CPAN is configured:
install Authen::OATH
[module in CPAN shell, which takes a long time to complete.]
When Authen::OATH is successfully installed, configure 2FA in WebMin.
Older Posts
Home
Subscribe to:
Posts (Atom)
Replace old IP with New one in Direct Admin
./ipswap.sh Old_IP New_IP for example: ./ipswap.sh 35.224.2.88 104.197.113.37