Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pam_motd(8) [centos man page]

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

NAME
pam_motd - Display the motd file SYNOPSIS
pam_motd.so [motd=/path/filename] 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. MODULE TYPES PROVIDED
Only the session module type is provided. RETURN VALUES
PAM_IGNORE This is the only return value of this module. EXAMPLES
The suggested usage for /etc/pam.d/login is: session optional pam_motd.so motd=/etc/motd SEE ALSO
motd(5), pam.conf(5), pam.d(5), pam(8) AUTHOR
pam_motd was written by Ben Collins <bcollins@debian.org>. Linux-PAM Manual 09/19/2013 PAM_MOTD(8)

Check Out this Related Man Page

MOTD.TAIL(5)						   Debian Administrator's Manual					      MOTD.TAIL(5)

NAME
motd.tail - Template for building the system message of the day DESCRIPTION
On Debian systems, the system message of the day is rebuilt at each startup, in order to display an accurate information. /etc/motd.tail is the file to edit permanent changes to the message of the day. OVERVIEW
The initiation script /etc/init.d/bootmisc.sh prepends a line containing information about the system to /etc/motd.tail and stores the resulting file in /var/run/motd. /etc/motd is a symbolic link to /var/run/motd. This is done to prevent changes to /etc as the system can not assume /etc to be writable. Changes to /etc/motd effectively end up in a file under /var/run which will be regenerated upon reboot. A symbolic link to a different file, such as /etc/motd.static disables this behaviour. FILES
/etc/init.d/bootmisc.sh The initiation script which builds /var/run/motd /etc/motd Symbolic link to the system message of the day at /var/run/motd /etc/motd.tail Template for building the system message of the day /var/run/motd System message of the day file rebuilt at each computer start SEE ALSO
login(1), issue(5), motd(5). Debian 2007-04-28 MOTD.TAIL(5)
Man Page