1radiusd.conf(5) FreeRADIUS configuration file radiusd.conf(5)
2
3
4
6 radiusd.conf - configuration file for the FreeRADIUS server
7
9 The radiusd.conf file resides in the radius database directory, by
10 default /etc/raddb. It defines the global configuration for the
11 FreeRADIUS server.
12
13
15 The file consists of attribute-value pairs, sections, and comments.
16
17 Attribute-value pairs are of the form name = value.
18
19 A section begins with a section name, followed on the same line by an
20 open bracket {. The section may contain other sections, or attribute-
21 value pairs. The section ends with a close bracket }, on a line by
22 itself.
23
24 Any line beginning with a (#) is deemed to be a comment, and is
25 ignored. Lines containing only whitespace are also ignored.
26
27 The file is line-based. That is, each newline-terminated line repre‐
28 sents either a comment, a section name, or an attribute-value pair. It
29 is not possible to specify multiple items on the same line, and there
30 are no continuation lines.
31
32 The value for a particular attribute may reference a previously defined
33 attribute by name. The standard shell reference format ${name} is used.
34 When the variable is in a section or subsection, it may be referenced
35 as ${section.subsection.name}. Forward references are not allowed.
36 Relative references are allowed, via pre-pending the name with one or
37 more of '.'.
38
39 The individidual configuration directives are too numerous to list
40 here, so this manual page only documents the file format. Please read
41 the sample configuration file distributed with the server for comments
42 describing each of the allowed configuration directives.
43
44
46 foo = bar
47
48 Sets variable foo to have text value bar.
49
50 blogs = ${foo}
51
52 Sets variable blogs to the value of variable foo from the current sec‐
53 tion. If there is no variable foo in the current section, then it
54 looks for that variable in the body of the main configuration file,
55 e.g. {Blogdir}
56
57 my_section {
58 baz = bud
59 }
60
61 Defines a section named my_section, containing variable baz.
62
63 blogs = ${.foo}
64
65 Sets variable blogs to the value of variable foo, from the current sec‐
66 tion.
67
68 blogs = ${..foo}
69
70 Sets variable blogs to the value of variable foo, from the section
71 which contains the current section.
72
73 blogs = ${modules.detail.detailfile}
74
75 Sets variable blogs to the value of variable detailfile, of the detail
76 module, which is in the modules section of the configuration file.
77
78
80 /etc/raddb/radiusd.conf
81
83 radiusd(8), users(5) clients(5)
84
85
87 Alan DeKok <aland@ox.org>
88
89
90
91 23 Jan 2004 radiusd.conf(5)