📄 rlm_files.5
字号:
.\" # DS - begin display.de DS.RS.nf.sp...\" # DE - end display.de DE.fi.RE.sp...TH rlm_files 5 "5 February 2004" "" "FreeRADIUS Module".SH NAMErlm_files \- FreeRADIUS Module.SH DESCRIPTIONThe \fIrlm_files\fP module uses the 'users' file for accessingauthorization information for users. Additionally, it supportsa 'users' file syntax to be applied to the accounting and pre-proxysections..PPThe main configuration items to be aware of are:.IP usersfileThe filename of the 'users' file, which is parsed during theauthorization stage of this module..IP acctusersfileThe filename of the 'users' file, which is parsed during theaccounting stage of this module..IP preproxy_usersfileThe filename of the 'users' file, which is parsed during thepre_proxy stage of this module..IP compatThis option allows FreeRADIUS to parse an old style Cistron syntax.The default is 'no'. If you need to parse an old style Cistronfile, set this option to 'cistron'..IP keyThis option lets you set the attribute to use as a key to findentries. The default is "%{Stripped-User-Name:-%{User-Name}}". Notethat the key MUST supply real data. Dynamic attributes like "Group"will not work, because the "Group" attribute can only be used as acomparison, to see if a user is in a Unix group. It will not returnthe name of the Unix group that a user is in..PPIf you want to use groups as a key, see the \fIrlm_passed\fP, whichwill create a real attribute that contains the group name..PPThis configuration entry enables you to have configurations thatperform per-group checks, and return per-group attributes, where thegroup membership is dynamically defined by a previous module. It alsolets you do things like key off of attributes in the reply, andexpress policies like like "when I send replies containing attributeFOO with value BAR, do more checks, and maybe send additionalattributes"..SH CONFIGURATION.PP.DSmodules { ... stuff here ....br files {.br usersfile = %{confdir}/users.br acctusersfile = %{confdir}/acct_users.br preproxy_usersfile = %{confdir}/preproxy_users.br compat = no.br key = %{Stripped-User-Name:-%{User-Name}}.br }.br ... stuff here ....br}.DE.PP.SH SECTIONS.BR authorization,.BR accounting,.BR pre_proxy.PP.SH FILES.I /etc/raddb/radiusd.conf,.I /etc/raddb/users,.I /etc/raddb/acct_users,.I /etc/raddb/preproxy_users.PP.SH "SEE ALSO".BR radiusd (8),.BR radiusd.conf (5),.BR users (5).SH AUTHORSChris Parker, cparker@segv.org
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -