xref: /freebsd/lib/libpam/modules/pam_tacplus/pam_tacplus.8 (revision 1642eb1a52563643a9e0b3b69b82c8f1e45541db)
11642eb1aSMark Murray.\" Copyright (c) 1999
21642eb1aSMark Murray.\"	Andrzej Bialecki <abial@FreeBSD.org>.  All rights reserved.
31642eb1aSMark Murray.\"
41642eb1aSMark Murray.\" Copyright (c) 1992, 1993, 1994
51642eb1aSMark Murray.\"	The Regents of the University of California.  All rights reserved.
61642eb1aSMark Murray.\" All rights reserved.
71642eb1aSMark Murray.\"
81642eb1aSMark Murray.\" This code is derived from software donated to Berkeley by
91642eb1aSMark Murray.\" Jan-Simon Pendry.
101642eb1aSMark Murray.\"
111642eb1aSMark Murray.\" Redistribution and use in source and binary forms, with or without
121642eb1aSMark Murray.\" modification, are permitted provided that the following conditions
131642eb1aSMark Murray.\" are met:
141642eb1aSMark Murray.\" 1. Redistributions of source code must retain the above copyright
151642eb1aSMark Murray.\"    notice, this list of conditions and the following disclaimer.
161642eb1aSMark Murray.\" 2. Redistributions in binary form must reproduce the above copyright
171642eb1aSMark Murray.\"    notice, this list of conditions and the following disclaimer in the
181642eb1aSMark Murray.\"    documentation and/or other materials provided with the distribution.
191642eb1aSMark Murray.\" 3. All advertising materials mentioning features or use of this software
201642eb1aSMark Murray.\"    must display the following acknowledgement:
211642eb1aSMark Murray.\"	This product includes software developed by the University of
221642eb1aSMark Murray.\"	California, Berkeley and its contributors.
231642eb1aSMark Murray.\" 4. Neither the name of the University nor the names of its contributors
241642eb1aSMark Murray.\"    may be used to endorse or promote products derived from this software
251642eb1aSMark Murray.\"    without specific prior written permission.
261642eb1aSMark Murray.\"
271642eb1aSMark Murray.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
281642eb1aSMark Murray.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
291642eb1aSMark Murray.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
301642eb1aSMark Murray.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
311642eb1aSMark Murray.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
321642eb1aSMark Murray.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
331642eb1aSMark Murray.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
341642eb1aSMark Murray.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
351642eb1aSMark Murray.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
361642eb1aSMark Murray.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
371642eb1aSMark Murray.\" SUCH DAMAGE.
381642eb1aSMark Murray.\"
391642eb1aSMark Murray.\" $FreeBSD$
401642eb1aSMark Murray.\"
411642eb1aSMark Murray.Dd August 2, 1999
421642eb1aSMark Murray.Dt PAM_TACPLUS 8
431642eb1aSMark Murray.Os FreeBSD
441642eb1aSMark Murray.Sh NAME
451642eb1aSMark Murray.Nm pam_tacplus
461642eb1aSMark Murray.Nd TACACS+ authentication PAM module
471642eb1aSMark Murray.Sh SYNOPSIS
481642eb1aSMark Murray.Op Ar service-name
491642eb1aSMark Murray.Ar module-type
501642eb1aSMark Murray.Ar control-flag
511642eb1aSMark Murray.Pa pam_tacplus
521642eb1aSMark Murray.Op Ar options
531642eb1aSMark Murray.Sh DESCRIPTION
541642eb1aSMark MurrayThe
551642eb1aSMark Murray.Nm
561642eb1aSMark Murraymodule provides authentication services based
571642eb1aSMark Murrayupon the TACACS+ protocol
581642eb1aSMark Murrayfor the PAM (Pluggable Authentication Module) framework.
591642eb1aSMark Murray.Pp
601642eb1aSMark MurrayThe
611642eb1aSMark Murray.Nm
621642eb1aSMark Murraymodule accepts these optional parameters:
631642eb1aSMark Murray.Bl -tag -width Fl
641642eb1aSMark Murray.It Cm use_first_pass
651642eb1aSMark Murraycauses
661642eb1aSMark Murray.Nm
671642eb1aSMark Murrayto use a previously entered password instead of prompting for a new one.
681642eb1aSMark MurrayIf no password has been entered then authentication fails.
691642eb1aSMark Murray.It Cm try_first_pass
701642eb1aSMark Murraycauses
711642eb1aSMark Murray.Nm
721642eb1aSMark Murrayto use a previously entered password, if one is available.  If no
731642eb1aSMark Murraypassword has been entered,
741642eb1aSMark Murray.Nm
751642eb1aSMark Murrayprompts for one as usual.
761642eb1aSMark Murray.It Cm echo_pass
771642eb1aSMark Murraycauses echoing to be left on if
781642eb1aSMark Murray.Nm
791642eb1aSMark Murrayprompts for a password.
801642eb1aSMark Murray.It Cm conf Ns No = Ns Ar pathname
811642eb1aSMark Murrayspecifies a non-standard location for the TACACS+ client configuration file
821642eb1aSMark Murray(normally located in /etc/tacplus.conf).
831642eb1aSMark Murray.It Cm template_user Ns No = Ns Ar username
841642eb1aSMark Murrayspecifies a user whose
851642eb1aSMark Murray.Xr passwd 5
861642eb1aSMark Murrayentry will be used as a template to create the session environment
871642eb1aSMark Murrayif the supplied username doesn't exist in local password database.
881642eb1aSMark MurrayThe user
891642eb1aSMark Murraywill be authenticated with the supplied username and password, but his
901642eb1aSMark Murraycredentials to the system will be presented as the ones for
911642eb1aSMark Murray.Ar username ,
921642eb1aSMark Murrayi.e., his login class, home directory, resource limits, etc. will be set to ones
931642eb1aSMark Murraydefined for
941642eb1aSMark Murray.Ar username .
951642eb1aSMark Murray.Pp
961642eb1aSMark MurrayIf this option is omitted, and there is no username
971642eb1aSMark Murrayin the system databases equal to the supplied one (as determined by call to
981642eb1aSMark Murray.Xr getpwnam 3 ) ,
991642eb1aSMark Murraythe authentication will fail.
1001642eb1aSMark Murray.El
1011642eb1aSMark Murray.Sh FILES
1021642eb1aSMark Murray.Bl -tag -width /etc/tacplus.conf -compact
1031642eb1aSMark Murray.It Pa /etc/tacplus.conf
1041642eb1aSMark MurrayThe standard TACACS+ client configuration file for
1051642eb1aSMark Murray.Nm
1061642eb1aSMark Murray.El
1071642eb1aSMark Murray.Sh SEE ALSO
1081642eb1aSMark Murray.Xr passwd 5 ,
1091642eb1aSMark Murray.Xr tacplus.conf 5 ,
1101642eb1aSMark Murray.Xr pam 8
1111642eb1aSMark Murray.Sh HISTORY
1121642eb1aSMark MurrayThe
1131642eb1aSMark Murray.Nm
1141642eb1aSMark Murraymodule first appeared in
1151642eb1aSMark Murray.Fx 3.1 .
1161642eb1aSMark Murray.Sh AUTHORS
1171642eb1aSMark Murray.An -nosplit
1181642eb1aSMark MurrayThe
1191642eb1aSMark Murray.Nm
1201642eb1aSMark Murraymanual page was written by
1211642eb1aSMark Murray.An Andrzej Bialecki Aq abial@FreeBSD.org
1221642eb1aSMark Murrayand adapted to TACACS+ from RADIUS by
1231642eb1aSMark Murray.An Mark R V Murray Aq markm@FreeBSD.org .
1241642eb1aSMark Murray.Pp
1251642eb1aSMark MurrayThe
1261642eb1aSMark Murray.Nm
1271642eb1aSMark Murraymodule was written by
1281642eb1aSMark Murray.An John D. Polstra Aq jdp@FreeBSD.org .
129