FreeRadius:radacct 目录中未生成日志

FreeRadius:radacct 目录中未生成日志

freeradius我已按照以下步骤在 Red Hat Enterprise Linux 6.5 上安装并配置指导。

我发现,一切正常,但/var/log/radius/radacct目录中没有生成日志。

根据指南,不需要在 中进行任何更改/etc/raddb/modules/detail.log

答案1

您必须取消注释某些行才能启用日志记录:

  1. 从文件authorize中的部分/etc/raddb/sites-enabled/default

    #
    #  If you want to have a log of authentication requests,
    #  un-comment the following line, and the 'detail auth_log'
    #  section, above.
    #      auth_log
    
  2. 从文件post-auth中的部分/etc/raddb/sites-enabled/default

        #
        #  If you want to have a log of authentication replies,
        #  un-comment the following line, and the 'detail reply_log'
        #  section, above.
    #      reply_log
    

相关内容