pam_echo(8) [netbsd man page]
PAM_ECHO(8) BSD System Manager's Manual PAM_ECHO(8) NAME
pam_echo -- Echo PAM module SYNOPSIS
[service-name] module-type control-flag pam_echo [arguments] DESCRIPTION
The echo service module for PAM displays its arguments to the user, separated by spaces, using the current conversation function. If the % character occurs anywhere in the arguments to pam_echo, it is assumed to introduce one of the following escape sequences: %H The name of the host on which the client runs (PAM_RHOST). %s The current service name (PAM_SERVICE). %t The name of the controlling tty (PAM_TTY). %U The applicant's user name (PAM_RUSER). %u The target account's user name (PAM_USER). Any other two-character sequence beginning with % expands to the character following the % character. SEE ALSO
pam.conf(5), pam(8) AUTHORS
The pam_echo module and this manual page were developed for the FreeBSD Project by ThinkSec AS and NAI Labs, the Security Research Division of Network Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035 (``CBOSS''), as part of the DARPA CHATS research program. BSD
February 6, 2003 BSD
Check Out this Related Man Page
PAM_ECHO(8) Linux-PAM Manual PAM_ECHO(8) NAME
pam_echo - PAM module for printing text messages SYNOPSIS
pam_echo.so [file=/path/message] DESCRIPTION
The pam_echo PAM module is for printing text messages to inform user about special things. Sequences starting with the % character are interpreted in the following way: %H The name of the remote host (PAM_RHOST). %h The name of the local host. %s The service name (PAM_SERVICE). %t The name of the controlling terminal (PAM_TTY). %U The remote user name (PAM_RUSER). %u The local user name (PAM_USER). All other sequences beginning with % expands to the characters following the % character. OPTIONS
file=/path/message The content of the file /path/message will be printed with the PAM conversion function as PAM_TEXT_INFO. MODULE TYPES PROVIDED
All module types (auth, account, password and session) are provided. RETURN VALUES
PAM_BUF_ERR Memory buffer error. PAM_SUCCESS Message was successful printed. PAM_IGNORE PAM_SILENT flag was given or message file does not exist, no message printed. EXAMPLES
For an example of the use of this module, we show how it may be used to print information about good passwords: password optional pam_echo.so file=/usr/share/doc/good-password.txt password required pam_unix.so SEE ALSO
pam.conf(8), pam.d(5), pam(7) AUTHOR
Thorsten Kukuk <kukuk@thkukuk.de> Linux-PAM Manual 06/04/2011 PAM_ECHO(8)