Ms7 Search
Google 搜尋 翻譯
calendar
« 四月 2025 »
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        
近期文章
文章分類
網站連結
Syndicate

« | »

FreeRadius 用 linux 帳號認証

2007-12-18 @ 15:38 in Linux

在 fedora7 上安裝了 freeradius ,想說用linux 帳號認証,結果試了兩,三天都無法成功,網路上只找到說,內定就是系統認証,可是我卻一直試不出來,後來在  radiusd.conf 中,看到提到 read ,才想到是否 shadow 的權限有問題,一查原來 shadow 的權限是 640 ,所以 freeradius 無法讀取,將權限改成 644 ,就可以用 linux 帳號認証了

迴響

將 radiusd 加入 root 群組

在 yum 自動 update 時,好像會將 shadow 的權限改回 640 ,所以還是將 radiusd 加入 root 群組,比較妥當

作者 shyong @ 08:38, 2007-12-24

我只是愛你的有趣博客

我想說,你真的幫助我理解的主題 FreeRadius ? linux ???? | ??

作者 seo services vancouver @ 09:10, 2012-03-03

users

shyong

加入才能帳號認証
# 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

作者 shyong @ 13:24, 2012-09-10

radtest 帳號 密碼 localhost 0 密碼

要 localhost 可以認証,記得修改 client.conf secret= 密碼

作者 piggy @ 22:22, 2015-01-01

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

作者 piggy @ 12:25, 2018-09-06
發表迴響
 authimage