The radiusd.conf File
This file is much like Apache’s httpd.conf file in that it lists nearly every directive and option for the basic functionality of the FreeRADIUS product. You will need to edit the Unix section of this file to make sure that the locations of the passwd, shadow, and group files are not commented out and are correct. FreeRADIUS needs these locations to start up. The appropriate section looks like this:
unix {
(some content removed)
# Define the locations of the normal passwd, shadow, and
# group files.
#
# 'shadow' is commented out by default, because not all
# systems have shadow passwords.
#
# To force the module to use the system passwd fnctns,
# instead of reading the files, comment out the 'passwd'
# and 'shadow' configuration entries. This is required
# for some systems, like FreeBSD.
#
passwd = /etc/passwd
shadow = /etc/shadow
group = /etc/group
(some content removed)
}I will cover the radiusd.conf file in more detail later in this chapter.
With that done, it’s now time to launch the radiusd daemon and test your setup. Execute radiusd from the command line; it should look similar to this:
radius:/etc/raddb # radiusd radiusd: Starting - reading configuration files ... radius:/etc/raddb #
If you receive no error messages, you now have a functional FreeRADIUS server. Congratulations!