pam_motd(8) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | MODULE TYPES PROVIDED | RETURN VALUES | EXAMPLES | SEE ALSO | AUTHOR | COLOPHON

PAM_MOTD(8)                 Linux-PAM Manual                 PAM_MOTD(8)

NAME         top

       pam_motd - Display the motd file

SYNOPSIS         top

       pam_motd.so [motd=/path/filename]

DESCRIPTION         top

       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.

OPTIONS         top

       motd=/path/filename
           The /path/filename file is displayed as message of the day.

MODULE TYPES PROVIDED         top

       Only the session module type is provided.

RETURN VALUES         top

       PAM_IGNORE
           This is the only return value of this module.

EXAMPLES         top

       The suggested usage for /etc/pam.d/login is:

           session  optional  pam_motd.so  motd=/etc/motd

SEE ALSO         top

       motd(5), pam.conf(5), pam.d(5), pam(8)

AUTHOR         top

       pam_motd was written by Ben Collins <bcollins@debian.org>.

COLOPHON         top

       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)