PAM_ECHO(8) | Linux-PAM Manual | PAM_ECHO(8) |
pam_echo - PAM module for printing text messages
pam_echo.so [file=/path/message]
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.
file=/path/message
All module types (auth, account, password and session) are provided.
PAM_BUF_ERR
PAM_SUCCESS
PAM_IGNORE
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
Thorsten Kukuk <kukuk@thkukuk.de>
09/03/2021 | Linux-PAM Manual |