加入才能帳號認証
# First setup all accounts to be checked against the UNIX /etc/passwd.
# (Unless a password was already given earlier in this file).
#
DEFAULT Auth-Type = System
Fall-Through = 1
# Pull crypt'd passwords from /etc/passwd or /etc/shadow,
# using the system API's to get the password. If you want
# to read /etc/passwd or /etc/shadow directly, see the
# mods-available/passwd module.
#
unix
迴響
將 radiusd 加入 root 群組
在 yum 自動 update 時,好像會將 shadow 的權限改回 640 ,所以還是將 radiusd 加入 root 群組,比較妥當
我只是愛你的有趣博客
我想說,你真的幫助我理解的主題 FreeRadius ? linux ???? | ??
users
加入才能帳號認証
# First setup all accounts to be checked against the UNIX /etc/passwd.
# (Unless a password was already given earlier in this file).
#
DEFAULT Auth-Type = System
Fall-Through = 1
radtest 帳號 密碼 localhost 0 密碼
要 localhost 可以認証,記得修改 client.conf secret= 密碼
freeradius-3.0.13 後
sites-avaiable/default
大約在 393行 的 # unix 的 # 必須刪掉,否則無法用 shadow 認証
# Pull crypt'd passwords from /etc/passwd or /etc/shadow,
# using the system API's to get the password. If you want
# to read /etc/passwd or /etc/shadow directly, see the
# mods-available/passwd module.
#
unix