藍森林首頁 | 返回主頁 | 本站地圖 | 站內搜索 | 聯繫信箱 |
 您目前的位置:首頁 > 自由軟件 > 技術交流 > 系統管理


    

藍森林 http://www.lslnet.com 2006年8月18日 15:18


如何使freeradius使用/etc/passwd認證?

我使用的是redhat EHEL 4 ,哪位指教一下。。。

如何使freeradius使用/etc/passwd認證?

頂。。。

如何使freeradius使用/etc/passwd認證?

我好像實現了這個功能,但是要求radiusd用戶能夠讀取/etc/shadow文件,,但是這個文件只有root能讀取啊,,難道要更改權限麼?

如何使freeradius使用/etc/passwd認證?


如何使freeradius使用/etc/passwd認證?

你的freeraidus如果也是用root運行的,當然能讀取了。。

我以前做過,但是文檔找不見了。。:(

看看官方網站,用/etc/passwd做認證,還是非常簡單的。。

如何使freeradius使用/etc/passwd認證?

好像缺省的freeradiusd是以radiusd用戶啟動的,,在
/usr/share/doc/freeradius-1.0.1目錄下的rlm_passwd文件中有如下的話:
Q: Can I use rlm_passwd to authenticate user against Linux shadow password
   file or BSD-style master.passwd?
A: Yes, but you need RADIUS running as root. Hint: use Crypt-Password
   attribute.  You probably don't want to use this module with
   FreeBSD to authenticate against system file, as it already takes care
   of caching passwd file entries, but it may be helpfull to authenticate
   against alternate file.
那就說明以root用戶啟動就沒有問題了吧。。



Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : webmaster@lslnet.com