NAME | SYNOPSIS | DESCRIPTION | OPTIONS | MODULE TYPES PROVIDED | RETURN VALUES | EXAMPLES | SEE ALSO | AUTHOR | COLOPHON |
|
|
PAM_MOTD(8) Linux-PAM Manual PAM_MOTD(8)
pam_motd - Display the motd file
pam_motd.so [motd=/path/filename]
pam_motd is a PAM module that can be used to display arbitrary motd (message of the day) files after a successful login. By default the /etc/motd file is shown. The message size is limited to 64KB.
motd=/path/filename The /path/filename file is displayed as message of the day.
Only the session module type is provided.
PAM_IGNORE This is the only return value of this module.
The suggested usage for /etc/pam.d/login is: session optional pam_motd.so motd=/etc/motd
motd(5), pam.conf(5), pam.d(5), pam(8)
pam_motd was written by Ben Collins <bcollins@debian.org>.
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 tarball Linux-PAM-1.3.0.tar.bz2 fetched from
⟨http://www.linux-pam.org/library/⟩ on 2021-08-27. 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 man-pages@man7.org
Linux-PAM Manual 04/01/2016 PAM_MOTD(8)
Pages that refer to this page: login(1)