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

📄 invoke.texi

📁 gnu 的radius服务器很好用的
💻 TEXI
字号:
@c This is part of the Radius manual.@c Copyright (C) 1999,2000,2001,2002,2003 Free Software Foundation, Inc.@c Written by Sergey Poznyakoff@c See file radius.texi for copying conditions.@comment *******************************************************************@node Invocation, Configuration Files, Operation, Top@chapter How to Start the Daemon.@cindex Radius daemon invocation@cindex Invoking the radius daemon@pindex radiusdWhen started @command{radiusd} uses the configuration values from the followingsources (in order of increasing precedence):@itemize @bullet@item Compiled-in defaults@item @file{raddb/config} file.@item Command line arguments@end itemizeWhenever a command line options has its equivalent in config file theuse of this equivalent should be preferred (@pxref{config file}).The following command line options are accepted:@table @option@c ** -A option (radiusd)@c ** --log-auth-detail (radiusd)@item -A@itemx --log-auth-detailEnable detailed authentication logging. When this option is specifiedeach authentication request is logged to the file@file{radacct/NASNAME/detail.auth}, where NASNAME is replaced by theshort name of the @NAS{} from @file{raddb/naslist}@ref{Naming Conventions}.Config file equivalent: @code{auth @{ detail yes; @};}.@c ** -a option (radiusd)@c ** --acct-directory (radiusd)@item -a DIR@itemx --acct-directory DIRSpecify accounting directory.Config file equivalent: @code{option @{ acct-dir DIR; @};}.@c ** -b option (radiusd)@c ** --dbm option (radiusd)@item -b@itemx --dbmEnable DBM support.Config file equivalent: @code{usedbm yes;}.@c ** -d (radiusd)@c ** --config-directory option (radiusd)@item -d DIR@itemx --config-directory DIR@itemx --directory DSpecify alternate configuration directory. Default is @file{@value{RADDB}}.@c ** -f option (radiusd)@c ** --foreground option (radiusd)@item -f@itemx --foregroundStay in foreground. We recommend to use it for debugging purposes only.@c ** -i option (radiusd)@c ** --ip-address@item -i IP@itemx --ip-addressSpecifies the @IP{} @command{radiusd} will listen on.If this option is not specified, the program will listen on allIP addresses, assigned to the machine it runs on.Config file equivalent: @code{option @{ source-ip IP; @};}.Note that @code{listen} statement in @file{raddb/config}provides a better control over @IP{}es to listen on (@pxref{auth}, and@pxref{acct}). @c ** -L option (radiusd)@c ** --license option (radiusd)@item -L@itemx --licenseDisplay GNU General Public License and exit.@c ** -l option (radiusd)@c ** --logging-directory option (radiusd)@item -l DIR@itemx --logging-directory DIRSpecify alternate logging directory.Config file equivalent: @code{option @{ log-dir DIR; @};}.@c ** -mb option (radiusd)@c ** --mode b (radiusd)@item -mb@itemx --mode b``Builddbm'' mode. Builds a DBM version of a plaintext users database.@ref{Builddbm}.@c ** -mc option (radiusd)@c ** --mode c (radiusd)@item -mc@itemx --mode cCheck configuration files and exit. All errors are reported via usuallog channels.@c ** -mt option (radiusd)@c ** --mode t (radiusd)@item -mt@itemx --mode tTest mode. In this mode @command{radiusd} starts an interactive interpreterwhich allows to test various aspects of its configuration.@c ** -N option (radiusd)@c ** --auth-only option (radiusd)@item -N@itemx --auth-onlyProcess only authentication requests.@c ** -n option (radiusd)@c ** --do-not-resolve option (radiusd)@item -n@itemx --do-not-resolveDo not resolve IP addresses for diagnostic output. This can reduce theamount of network traffic and speed up the server.Config file equivalent: @code{option @{ resolve no @};}.@c ** -p option (radiusd)@c ** --port option (radiusd)@item -p PORTNO@itemx --port PORTNOListen the @sc{udp} port PORTNO. The accounting port is computed as @var{PORTNO} + 1.@c ** -P (radiusd)@c ** --pid-file-dir (radiusd)@item -P DIR@itemx --pid-file-dir DIRSpecifies the alternate path for the pidfile. @c ** -S option (radiusd)@c ** --log-stripped-names option (radiusd)@item -S@itemx --log-stripped-namesLog usernames stripped off any prefixes/suffixes.Config file equivalent: @code{auth @{ strip-names yes @};}.@c ** -s option (radiusd)@c ** --single-process option (radiusd)@item -s@itemx --single-processRun in single process mode. This is for debugging purposes only. We stronglyrecommend @emph{against} using this option. Use it only when absolutelynecessary.@c ** -v option (radiusd)@c ** --version option (radiusd)@item -v@itemx --versionDisplay program version and compilation options.@c ** -x option (radiusd)@c ** --debug option (radiusd)@item -x DEBUG_LEVEL@itemx --debug DEBUG_LEVELSet debugging level. @var{DEBUG_LEVEL} is a comma-separated list ofassignments in the forms@smallexampleMODULEMODULE = LEVEL@end smallexamplewhere @var{MODULE} is the module name or any non-ambiguous assignmentthereof, LEVEL is the debugging level in the range 0-100. @ref{Debugging}Config file equivalent:@smallexamplelogging @{        category debug @{                level DEBUG_LEVEL;        @};@};@end smallexample@c ** -y option (radiusd)@c ** --log-auth option (radiusd)@item -y@itemx --log-authLog authentications. With this option enabled, Radius will log anyauthentication attempt into its log file @ref{Logging}.Config file equivalent: @code{logging @{ category auth @{ detail yes;@}; @}; }.@item -z@itemx --log-auth-passLog passwords along with authentication information. @emph{Do not use} thisoption. It is @emph{very} insecure, since all users' passwords will beechoed in the logfile. This option is provided only for debugging purposes.Config file equivalent:@smallexamplelogging @{        category auth @{                print-pass yes;        @};@};@end smallexample@end table@xref{config file}.@c  LocalWords:  pid

⌨️ 快捷键说明

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