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

📄 tacc.1

📁 pppd unix下使用的 pppd拨号程序源码
💻 1
字号:
.TH TACC 1.SH NAMEtacc \- simple TACACS+ client and login program.SH SYNOPSIS.B tacc[-TRAVh] [-qwn] [-u \fIusername\fR] [-p \fIpassword\fR] [-s \fIserver\fR][-k \fIsecret\fR] [-c \fI'command'\fR] [--username=\fIusername\fR][--password=\fIpassword\fR] [--server=\fIserver\fR] [--secret=\fIsecret\fR][--command=\fI'command'\fR | --exec=\fI'command'\fR] [--quiet | --silent][--no-wtmp] [--no-encrypt].PP.B tacc\fIusername\fR .SH DESCRIPTION.B taccis simple TACACS+ client, designed mainly for two purposes:.TP.B command line modesending arbitrary TACACS+ requests from command line.TP.B login modesending authentication and authorization requests for usernamesupplied in command line and password read from standard input;in this case \fBtacc\fR is working in "dumb" mode and compiled-indefaults are used.PP\fBtacc\fR will run in either command line mode or login mode depending on parameters passed from command line. When there's only one non-option(i.e. not starting with "\-") parameter, \fBtacc\fR will run in login mode.Otherwise, it will parse other parameters described below. Any data notexplicitly set from command line will be set to default, compiled invalue..SH "COMMAND LINE OPTIONS" Options specifying action to be performed. At least one is required..TP.I "\-T, \-\-authenticate"perform authentication of username and password supplied with\-u and \-p options.TP.I "\-R, \-\-authorize"request authorization for particular service (in current versionthis is limited to service \fBppp\fR and protocol \fBip\fR).TP.I "\-A, \-\-account"send accounting requests on session beginning and end.ip "Data\ options".TP.I "\-h, \-\-help"display brief listing of options and exit.TP.I "\-V, \-\-version"display program name, program version and exit.PPOptions for passing various data to the program. Only \fB\-u\fR is required.If any of other options is not specified, the compiled-in defaul is used..TP.I "\-u, \-\-username"username for authentication, authorization and accounting.TP.I "\-p, \-\-password"password for authentication; if not specified from command line,prompt is displayed and password is read from standard input.TP.I "\-s, \-\-server"TACACS+ server address, either IP address or host name; this optioncan be given up to two times, specifying primary and secondary servers.TP.I "\-k, \-\-secret"shared secret used to encrypt and decrypt packets exchanged withTACACS+ server.TP.I "\-c, \-\-command, \-\-exec"command to execute after successful performing all specified actions;this usually starts PPP or SLIP driver.PPOptions modifying program's behaviour..TP.I "\-q, \-\-quiet, \-\-silent"supresses displaying informational and error messages to standardoutput, but still report errors to syslog(3).TP.I "\-w, \-\-no\-wtmp"supresses writing accounting records to local wtmp(5) files.TP.I "\-n, \-\-no\-encrypt"disables encryption of packets sent to TACACS+ server.SH "LOGIN MODE"In this mode \fBtacc\fR will accept only one parameter, the \fIusername\fR,as passed from \fIgetty\fR style programs. It is intended for use asreplacement for \fIlogin\fR program in \fIgetty\fR configuration file.In login mode \fBtacc\fR will use compiled in defaults for server address,secret key and command to run after successful authentication andauthorization. It will also prompt for password and read it from standardinput, like the \fIlogin\fR program..SH LIMITATIONSIn current version there is no other way to change login mode parametersthan changing them in the source file and recompiling \fBtacc\fR. It alsodoes not implement the full TACACS+ specification, only the subset ofTACACS+ required to perform PAP authentication, IP authorizationand start/stop accounting..PPThere are also some limitations in information sent in accounting packets,caused by the fact that \fBtacc\fR doesn't perform PPP connection itself,but only spawns \fIpppd\fR to handle the PPP protocol. Because of this\fBtacc\fR has no idea on how many data was exchanged with the peer. .SH "EXIT CODE"\fBtacc\fR returns the following codes at exit:.TP.B 0to indicate success.TP.B 1to indicate authentication failure or remote server error.TP.B 2to indicate local error.SH "SEE ALSO".TP.I ftp://ftp-eng.cisco.com/tacplus/CISCO archive with latest versions of TACACS+ specification, API andserver source code.TP.I TAC_PLUS Developer's Kitdistributed with TACACS+ server source code.TP.I http://ceti.com.pl/~kravietz/progs/tacacs.htmlmore information on \fBtacc\fR and TACACS+ support for \fIpppd\fR.SH AUTHORPawel Krawczyk <kravietz@ceti.com.pl>

⌨️ 快捷键说明

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