table of contents
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
%h
%s
%t
%U
%u
All other sequences beginning with % expands to the characters following the % character.
OPTIONS¶
file=/path/message
MODULE TYPES PROVIDED¶
All module types (auth, account, password and session) are provided.
RETURN VALUES¶
PAM_BUF_ERR
PAM_SUCCESS
PAM_IGNORE
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¶
AUTHOR¶
Thorsten Kukuk <kukuk@thkukuk.de>
06/08/2020 | Linux-PAM Manual |