ubuntu添加freeradius字典dictionary

在ubuntu默认安装的freeradius中可能会没有自己预想的dictionary,比如在centos中默认安装dictionary.hillstone,ubuntu中则没有。
可以把所需要的词典导入/usr/share/freeradius中。要使用该字典需要修改相应的配置文件,有两种方法。

  1. 在/usr/share/freeradius路径下修改dictionary文件,在对应的模块中加入$INCLUDE dictionary.*
  2. 在/etc/freeradius路径下修改dictionary文件,在$INCLUDE /usr/share/freeradius/dictionary下面一行写上所要添加字典的路径和名称
    在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/ly_6118/article/details/83305983