Configuring radiusd.conf
radiusd.conf file is the central location to configure most aspects of the FreeRADIUS product. It includes configuration directives as well as pointers and two other configuration files that may be located elsewhere on the machine. There are also general configuration options for the multitude of modules available now and in the future for FreeRADIUS. The modules can request generic options, and FreeRADIUS will pass those defined options to the module through its API.
Before we begin, some explanation is needed of the operators used in
the statements and directives found in these configuration files. The
= operator, as you might imagine, sets the value
of an attribute. The := operator sets the value of
an attribute and overwrites any previous value that was set for that
attribute. The == operator compares a state with a
set value. It’s critical to understand how these
operators work in order to obtain your desired configuration.
In this chapter, I’ll look at several of the general configuration options inside radiusd.conf. Some of the more advanced directives in this file will be covered in Chapter 6.