[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.1 Run-Time Configuration Options -- `raddb/config'

At startup radiusd obtains its configuration values from three places. The basic configuration is kept in the executable module itself. These values are overridden by those obtained from `raddb/config' file. Finally, the options obtained from the command line override the first two sets of options.

When re-reading of the configuration is initiated either by SIGHUP signal or by SNMP channel any changes in the config file take precedence over command line arguments, since `raddb/config' is the only way to change configuration of the running program.

This chapter discusses the `raddb/config' file in detail.

The `raddb/config' consists of statements and comments. Statements end with a semicolon. Many statements contain a block of sub-statements which also terminate with a semicolon.

Comments can be written in shell, C, or C++ constructs, i.e. any of the following represent a valid comment:

 
# A shell comment
/* A C-style
 * multi-line comment
 */
// A C++-style comment

These are the basic statements:

5.1.1 option block  Option block: set the global program options.
5.1.2 logging block  Fine-tune the logging.
5.1.3 auth statement  Configure authentication service.
5.1.4 acct statement  Configure accounting service.
5.1.5 usedbm statement  Enable the DBM feature.
5.1.6 snmp statement  Configure SNMP service.
5.1.7 rewrite statement.  Configure Rewrite interface.
5.1.8 guile statement  Configure Guile interface.
5.1.9 message statement  Configure server reply messages.
5.1.10 filters statement  Configure authentication and accounting filters.
5.1.11 mlc statement  Configure multiple login checking.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Sergey Poznyakoff on November, 20 2004 using texi2html