pam_motd
displays message of the day
TLDR
Display message of the day
$ session optional pam_motd.so
Custom motd location$ session optional pam_motd.so motd=/etc/custom_motd
Multiple motd files$ session optional pam_motd.so motd_dir=/etc/motd.d
Disable for non-login shells$ session optional pam_motd.so noupdate
SYNOPSIS
pam_motd.so [options]
DESCRIPTION
pam_motd displays message of the day. Shows /etc/motd on login.
The module presents login messages. Supports dynamic MOTD generation.
PARAMETERS
motd=FILE
MOTD file path.motd_dir=DIR
Directory with MOTD files.noupdate
Don't run motd scripts.
CAVEATS
Session module. Can run scripts. Multiple file support.
HISTORY
pam_motd displays the message of the day for login sessions.
SEE ALSO
pam(8), motd(5), update-motd(5)
