Debian
如何查看執行 FreeRadius 守護程序的版本和正常執行時間
我有一個 FreeRadius 伺服器在 Debian 9.1 中為我的 802.1X 基礎結構進行身份驗證。
如何查看正在執行的 FreeRadius 守護程序的版本和正常執行時間?
使用 dpkg查看軟體版本(如果安裝了 deb 包):
$ dpkg -l freeradius Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===========================================-==========================-==========================-=========================================================================================== ii freeradius 3.0.16+git amd64 high-performance and highly configurable RADIUS server
同樣從命令行,您可以執行以下操作:
$freeradius -v radiusd: FreeRADIUS Version 3.0.16 (git #0bd5a4cec), for host x86_64-pc-linux-gnu, built on Jul 17 2017 at 16:00:00 FreeRADIUS Version 3.0.16 Copyright (C) 1999-2017 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT
radmin
使用FreeRadius的調試工具,您可以查看服務的版本和正常執行時間:radius2:~$ sudo radmin radmin version 3.0.16 (git #0bd5a4cec), built on Jul 17 2017 at 16:00:00 - FreeRADIUS Server administration tool. Copyright (C) 2008-2017 The FreeRADIUS server project and contributors. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License v2. radmin> show version FreeRADIUS Version 3.0.16 (git #0bd5a4cec), for host x86_64-pc-linux-gnu, built on Jul 17 2017 at 16:00:00 radmin> show uptime Up since Mon Jul 24 14:39:51 2017 radmin> exit
為了
radmin
正常工作,正如@Arran 正確指出的那樣,您應該已經配置了該control-socket
功能。你這樣做:
ln -s sites-available/control-socket sites-enabled/control-socket