⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 radiusd.conf.5

📁 使用最广泛的radius的linux的源码
💻 5
字号:
.\"     # DS - begin display.de DS.RS.nf.sp...\"     # DE - end display.de DE.fi.RE.sp...TH radiusd.conf 5 "12 Jun 2007" "" "FreeRADIUS configuration file".SH NAMEradiusd.conf \- configuration file for the FreeRADIUS server.SH DESCRIPTIONThe \fBradiusd.conf\fP file resides in the radius database directory,by default \fB/etc/raddb\fP.  It defines the global configuration forthe FreeRADIUS RADIUS server..SH "CONTENTS"There are a large number of configuration parameters for the server.Most are documented in the file itself as comments.  This pagedocuments only the format of the file.  Please read the\fBradiusd.conf\fP file itself for more information.The configuration file parser is independent of the serverconfiguration.  This means that you can put almost anything into theconfiguration file.  So long as it is properly formatted, the serverwill start.When the server parses the configuration file, it looks only for thoseconfigurations it understands.  Extra configuration items are ignored.This "feature" can be (ab)used in certain interesting ways..SH "FILE FORMAT"The file format is line-based, like many other Unix configurationfiles.  Each entry in the file must be placed on a line by itself,although continuations are supported.The file consists of configuration items (variable = value pairs),sections, and comments..IP VariablesVariables can be set via:.DS.br	name = value.DESingle and double-quoted strings are permitted:.DS.br	string1 = "hello world".br	string2 = 'hello mom'.DE.IP SectionsA section begins with a section name, followed on the same line by anopen bracket '\fB{\fP'.  Section may contain other sections, comments, orvariables.  Sections may be nested to any depth, limitedonly by available memory.  A section ends with a close bracket\'\fB}\fP', on a line by itself..DS.br	section {.br		....br	}.DESections can sometimes have a second name following the first one.The situations where this is legal depend on the context.  See theexamples and comments in the \fBradiusd.conf\fP file for moreinformation..DS.br	section foo {.br		....br	}.DE.IP CommentsAny line beginning with a (\fB#\fP) is deemed to be a comment, and isignored.  Comments can appear after a variable or section definitions..DS.br	# comment.br	foo = bar # set variable 'foo' to value 'bar'.br	section {	# start of section.br	....br	}		# end of section.DE.IP ContinuationsLong lines can be broken up via continuations, using '\\' as the lastcharacter of the line.  For example, the following entry:.DS.br	foo = "blah \\.br	blah \\.br	blah".DEwill set the value of the variable "foo" to "blah blah blah".  Any CRor LF is not turned into a space, but all other whitespace ispreserved in the final value..SH "REFERENCES"The value of a variable can reference another variable.  Thesereferences are evaluated when the configuration file is loaded, whichmeans that there is no run-time cost associated with them.  Thisfeature is most useful for turning long, repeated pieces of text intoshort ones.Variables are referenced by ${variable_name}, as in the following examples..DS	foo = bar       # set variable 'foo' to value 'bar'.br	who = ${foo}    # sets variable 'who' to value of variable 'foo'.br	my = "${foo} a" # sets variable 'my' to "bar a".DEIf the variable exists in a section or subsection, it can bereferenced as ${section.subsection.variable}.  Forward references arenot allowed.  Relative references are allowed, by pre-pending the namewith one or more period..DS	blogs = ${.foo}.DEWill set variable \fBblogs\fP to the value of variable \fBfoo\fP,from the current section..DS	blogs = ${..foo}.DEWill set variable \fBblogs\fP to the value of variable \fBfoo\fP, from thesection which contains the current section..DS	blogs = ${modules.detail.detailfile}.DEWill set variable \fBblogs\fP to the value of variable \fBdetailfile\fP,of the \fBdetail\fP module, which is in the \fBmodules\fP section ofthe configuration file..SH FILES/etc/raddb/radiusd.conf.SH "SEE ALSO".BR radiusd (8).BR unlang (5).SH AUTHORAlan DeKok <aland@freeradius.org>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -