Two-Factor-Authentication with OTP on RHEL/CentOS7

Hello everyone.

Any people did success config radius-otp for rhel/centos 7? I did see this tutorial but i can’t config success it. Radius can’t start for me.

My error when execute: radiusd -X
Can’t locate Config/IniFiles.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /etc/raddb/mods-config/perl/privacyidea_radius.pm line 158.
BEGIN failed–compilation aborted at /etc/raddb/mods-config/perl/privacyidea_radius.pm line 158.
rlm_perl: perl_parse failed: /etc/raddb/mods-config/perl/privacyidea_radius.pm not found or has syntax errors
/etc/raddb/mods-enabled/perl[7]: Instantiation failed for module “perl”

1 Like