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:
The name of the remote host (PAM_RHOST).
The name of the local host.
The service name (PAM_SERVICE).
The name of the controlling terminal (PAM_TTY).
The remote user name (PAM_RUSER).
The local user name (PAM_USER).
All other sequences beginning with % expands to the characters
following the % character.
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
This page is part of the linux-pam (Pluggable Authentication
Modules for Linux) project. Information about the project can be
found at ⟨http://www.linux-pam.org/⟩. If you have a bug report
for this manual page, see ⟨//www.linux-pam.org/⟩. This page was
obtained from the project's upstream Git repository
⟨https://github.com/linux-pam/linux-pam.git⟩ on 2023-06-23. (At
that time, the date of the most recent commit that was found in
the repository was 2023-06-07.) If you discover any rendering
problems in this HTML version of the page, or you believe there
is a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
Linux-PAM Manual 12/16/2022 PAM_ECHO(8)