pam_echo - PAM module for printing text messages
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:
%HThe name of the remote host (PAM_RHOST).
%hThe name of the local host.
%sThe service name (PAM_SERVICE).
%tThe name of the controlling terminal (PAM_TTY).
%UThe remote user name (PAM_RUSER).
%uThe local user name (PAM_USER).
All other sequences beginning with % expands to the characters following the % character.
file=/path/messageThe content of the file /path/message will be printed with the PAM conversion function as PAM_TEXT_INFO.
All module types (auth, account, password and session) are provided.
PAM_BUF_ERRMemory buffer error.
PAM_SUCCESSMessage was successful printed.
PAM_IGNOREPAM_SILENT flag was given or message file does not exist, no message printed.
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
pam.conf(8), pam.d(5), pam(7)
Thorsten Kukuk <firstname.lastname@example.org>
|Linux-PAM Manual||PAM_ECHO (8)||06/04/2011|