MOON
Server: Apache
System: Linux 54-179-220-51.cprapid.com 3.10.0-1160.144.1.el7.tuxcare.els4.x86_64 #1 SMP Tue Apr 7 08:40:40 UTC 2026 x86_64
User: hunarpak (1005)
PHP: 7.4.29
Disabled: NONE
Upload Files
File: //usr/share/doc/pam-1.1.8/txts/README.pam_motd
pam_motd — Display the motd file

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

DESCRIPTION

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

motd=/path/filename

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

EXAMPLES

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

session  optional  pam_motd.so  motd=/etc/motd


AUTHOR

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