xref: /freebsd/lib/libpam/modules/pam_echo/pam_echo.8 (revision 6e1fc0118033f42b7c0d3623c8f67a89ebecabb2)
1caeab58cSDag-Erling Smørgrav.\" Copyright (c) 2001,2003 Networks Associates Technology, Inc.
2f65b2180SDag-Erling Smørgrav.\" All rights reserved.
3f65b2180SDag-Erling Smørgrav.\"
4f65b2180SDag-Erling Smørgrav.\" Portions of this software were developed for the FreeBSD Project by
5f65b2180SDag-Erling Smørgrav.\" ThinkSec AS and NAI Labs, the Security Research Division of Network
6f65b2180SDag-Erling Smørgrav.\" Associates, Inc.  under DARPA/SPAWAR contract N66001-01-C-8035
7f65b2180SDag-Erling Smørgrav.\" ("CBOSS"), as part of the DARPA CHATS research program.
8f65b2180SDag-Erling Smørgrav.\"
9f65b2180SDag-Erling Smørgrav.\" Redistribution and use in source and binary forms, with or without
10f65b2180SDag-Erling Smørgrav.\" modification, are permitted provided that the following conditions
11f65b2180SDag-Erling Smørgrav.\" are met:
12f65b2180SDag-Erling Smørgrav.\" 1. Redistributions of source code must retain the above copyright
13f65b2180SDag-Erling Smørgrav.\"    notice, this list of conditions and the following disclaimer.
14f65b2180SDag-Erling Smørgrav.\" 2. Redistributions in binary form must reproduce the above copyright
15f65b2180SDag-Erling Smørgrav.\"    notice, this list of conditions and the following disclaimer in the
16f65b2180SDag-Erling Smørgrav.\"    documentation and/or other materials provided with the distribution.
17f65b2180SDag-Erling Smørgrav.\" 3. The name of the author may not be used to endorse or promote
18f65b2180SDag-Erling Smørgrav.\"    products derived from this software without specific prior written
19f65b2180SDag-Erling Smørgrav.\"    permission.
20f65b2180SDag-Erling Smørgrav.\"
21f65b2180SDag-Erling Smørgrav.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
22f65b2180SDag-Erling Smørgrav.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23f65b2180SDag-Erling Smørgrav.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24f65b2180SDag-Erling Smørgrav.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
25f65b2180SDag-Erling Smørgrav.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26f65b2180SDag-Erling Smørgrav.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27f65b2180SDag-Erling Smørgrav.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28f65b2180SDag-Erling Smørgrav.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29f65b2180SDag-Erling Smørgrav.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30f65b2180SDag-Erling Smørgrav.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31f65b2180SDag-Erling Smørgrav.\" SUCH DAMAGE.
32f65b2180SDag-Erling Smørgrav.\"
33915bae31SDag-Erling Smørgrav.Dd February 6, 2003
34f65b2180SDag-Erling Smørgrav.Dt PAM_ECHO 8
35f65b2180SDag-Erling Smørgrav.Os
36f65b2180SDag-Erling Smørgrav.Sh NAME
37f65b2180SDag-Erling Smørgrav.Nm pam_echo
38f65b2180SDag-Erling Smørgrav.Nd Echo PAM module
39f65b2180SDag-Erling Smørgrav.Sh SYNOPSIS
40f65b2180SDag-Erling Smørgrav.Op Ar service-name
41f65b2180SDag-Erling Smørgrav.Ar module-type
42f65b2180SDag-Erling Smørgrav.Ar control-flag
43f65b2180SDag-Erling Smørgrav.Pa pam_echo
44f65b2180SDag-Erling Smørgrav.Op Ar arguments
45f65b2180SDag-Erling Smørgrav.Sh DESCRIPTION
46f65b2180SDag-Erling SmørgravThe echo service module for PAM displays its arguments to the user,
47f65b2180SDag-Erling Smørgravseparated by spaces, using the current conversation function.
48caeab58cSDag-Erling Smørgrav.Pp
49caeab58cSDag-Erling SmørgravIf the
50caeab58cSDag-Erling Smørgrav.Cm %
51caeab58cSDag-Erling Smørgravcharacter occurs anywhere in the arguments to
52caeab58cSDag-Erling Smørgrav.Nm ,
53caeab58cSDag-Erling Smørgravit is assumed to introduce one of the following escape sequences:
54caeab58cSDag-Erling Smørgrav.Bl -tag -width 4n
55caeab58cSDag-Erling Smørgrav.It Cm %H
56caeab58cSDag-Erling SmørgravThe name of the host on which the client runs
57caeab58cSDag-Erling Smørgrav.Pq Dv PAM_RHOST .
58caeab58cSDag-Erling Smørgrav.\".It Cm %h
59caeab58cSDag-Erling Smørgrav.\"The name of the host on which the server runs.
60caeab58cSDag-Erling Smørgrav.It Cm %s
61caeab58cSDag-Erling SmørgravThe current service name
62caeab58cSDag-Erling Smørgrav.Pq Dv PAM_SERVICE .
63caeab58cSDag-Erling Smørgrav.It Cm %t
64caeab58cSDag-Erling SmørgravThe name of the controlling tty
65caeab58cSDag-Erling Smørgrav.Pq Dv PAM_TTY .
66e363756cSRuslan Ermilov.It Cm \&%U
67caeab58cSDag-Erling SmørgravThe applicant's user name
68caeab58cSDag-Erling Smørgrav.Pq Dv PAM_RUSER .
69caeab58cSDag-Erling Smørgrav.It Cm %u
70caeab58cSDag-Erling SmørgravThe target account's user name
71caeab58cSDag-Erling Smørgrav.Pq Dv PAM_USER .
72caeab58cSDag-Erling Smørgrav.El
73caeab58cSDag-Erling Smørgrav.Pp
74caeab58cSDag-Erling SmørgravAny other two-character sequence beginning with
75caeab58cSDag-Erling Smørgrav.Cm %
76caeab58cSDag-Erling Smørgravexpands to the character following the
77caeab58cSDag-Erling Smørgrav.Cm %
78caeab58cSDag-Erling Smørgravcharacter.
79f65b2180SDag-Erling Smørgrav.Sh SEE ALSO
80*6e1fc011SGraham Percival.Xr pam 3 ,
81*6e1fc011SGraham Percival.Xr pam.conf 5
82f65b2180SDag-Erling Smørgrav.Sh AUTHORS
83f65b2180SDag-Erling SmørgravThe
84f65b2180SDag-Erling Smørgrav.Nm
85f65b2180SDag-Erling Smørgravmodule and this manual page were developed for the
86f65b2180SDag-Erling Smørgrav.Fx
87f65b2180SDag-Erling SmørgravProject by
88f65b2180SDag-Erling SmørgravThinkSec AS and NAI Labs, the Security Research Division of Network
891a0a9345SRuslan ErmilovAssociates, Inc.\& under DARPA/SPAWAR contract N66001-01-C-8035
90f65b2180SDag-Erling Smørgrav.Pq Dq CBOSS ,
91f65b2180SDag-Erling Smørgravas part of the DARPA CHATS research program.
92