Correct BSD License clause numbering from 1-2-4 to 1-2-3.
[dragonfly.git] / lib / pam_module / pam_tacplus / pam_tacplus.8
1 .\" Copyright (c) 1999
2 .\"     Andrzej Bialecki <abial@FreeBSD.org>.  All rights reserved.
3 .\"
4 .\" Copyright (c) 1992, 1993, 1994
5 .\"     The Regents of the University of California.  All rights reserved.
6 .\" All rights reserved.
7 .\"
8 .\" This code is derived from software donated to Berkeley by
9 .\" Jan-Simon Pendry.
10 .\"
11 .\" Redistribution and use in source and binary forms, with or without
12 .\" modification, are permitted provided that the following conditions
13 .\" are met:
14 .\" 1. Redistributions of source code must retain the above copyright
15 .\"    notice, this list of conditions and the following disclaimer.
16 .\" 2. Redistributions in binary form must reproduce the above copyright
17 .\"    notice, this list of conditions and the following disclaimer in the
18 .\"    documentation and/or other materials provided with the distribution.
19 .\" 3. Neither the name of the University nor the names of its contributors
20 .\"    may be used to endorse or promote products derived from this software
21 .\"    without specific prior written permission.
22 .\"
23 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
24 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
27 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .\" SUCH DAMAGE.
34 .\"
35 .\" $FreeBSD: src/lib/libpam/modules/pam_tacplus/pam_tacplus.8,v 1.4 2004/07/02 23:52:18 ru Exp $
36 .\" $DragonFly: src/lib/pam_module/pam_tacplus/pam_tacplus.8,v 1.1 2005/07/12 22:34:55 joerg Exp $
37 .\"
38 .Dd August 2, 1999
39 .Dt PAM_TACPLUS 8
40 .Os
41 .Sh NAME
42 .Nm pam_tacplus
43 .Nd TACACS+ authentication PAM module
44 .Sh SYNOPSIS
45 .Op Ar service-name
46 .Ar module-type
47 .Ar control-flag
48 .Pa pam_tacplus
49 .Op Ar options
50 .Sh DESCRIPTION
51 The
52 .Nm
53 module provides authentication services based
54 upon the TACACS+ protocol
55 for the PAM (Pluggable Authentication Module) framework.
56 .Pp
57 The
58 .Nm
59 module accepts these optional parameters:
60 .Bl -tag -width ".Cm use_first_pass"
61 .It Cm use_first_pass
62 causes
63 .Nm
64 to use a previously entered password instead of prompting for a new one.
65 If no password has been entered then authentication fails.
66 .It Cm try_first_pass
67 causes
68 .Nm
69 to use a previously entered password, if one is available.
70 If no
71 password has been entered,
72 .Nm
73 prompts for one as usual.
74 .It Cm echo_pass
75 causes echoing to be left on if
76 .Nm
77 prompts for a password.
78 .It Cm conf Ns = Ns Ar pathname
79 specifies a non-standard location for the TACACS+ client configuration file
80 (normally located in
81 .Pa /etc/tacplus.conf ) .
82 .It Cm template_user Ns = Ns Ar username
83 specifies a user whose
84 .Xr passwd 5
85 entry will be used as a template to create the session environment
86 if the supplied username does not exist in local password database.
87 The user
88 will be authenticated with the supplied username and password, but his
89 credentials to the system will be presented as the ones for
90 .Ar username ,
91 i.e., his login class, home directory, resource limits, etc.\& will be set to ones
92 defined for
93 .Ar username .
94 .Pp
95 If this option is omitted, and there is no username
96 in the system databases equal to the supplied one (as determined by call to
97 .Xr getpwnam 3 ) ,
98 the authentication will fail.
99 .El
100 .Sh FILES
101 .Bl -tag -width /etc/tacplus.conf -compact
102 .It Pa /etc/tacplus.conf
103 The standard TACACS+ client configuration file for
104 .Nm
105 .El
106 .Sh SEE ALSO
107 .Xr passwd 5 ,
108 .Xr tacplus.conf 5 ,
109 .Xr pam 8
110 .Sh HISTORY
111 The
112 .Nm
113 module first appeared in
114 .Fx 3.1 .
115 .Sh AUTHORS
116 .An -nosplit
117 The
118 .Nm
119 manual page was written by
120 .An Andrzej Bialecki Aq abial@FreeBSD.org
121 and adapted to TACACS+ from RADIUS by
122 .An Mark R V Murray Aq markm@FreeBSD.org .
123 .Pp
124 The
125 .Nm
126 module was written by
127 .An John D. Polstra Aq jdp@FreeBSD.org .