What does 'radius -C' do? (2.1.3)
mike.diggins at mcmaster.ca
Mon Mar 9 19:07:24 CET 2009
Just as a quick example, I added this line to radius.conf:
$INCLUDE dsdfsdf/ # bogus line
radiusd -C doesn't complain:
[root at rad01 raddb]# /usr/local/freeradius/sbin/radiusd -C
[root at rad01 raddb]#
Radius -XC does:
including files in directory /usr/local/freeradius/etc/raddb/dsdfsdf/
/usr/local/freeradius/etc/raddb/radiusd.conf: Error reading directory
/usr/local/freeradius/etc/raddb/dsdfsdf/: No such file or directory
Errors reading /usr/local/freeradius/etc/raddb/radiusd.conf
[root at prad01 raddb]#
Basically I just wanted to do a quick syntax check to ensure radius will
start, in case I mangle something in the config.
On Mon, 9 Mar 2009, Alan DeKok wrote:
> A.L.M.Buxey at lboro.ac.uk wrote:
>> much as thought. is it also the case that it only checks
>> stuff that can be 'HUP'd' ?
> Alan DeKok.
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users