System Grab Bag

View all man pages from Ubuntu (or from all projects)

Name

motd - message of the day

Description

The contents of /etc/motd are displayed by pam_motd(8) after a successful login but just before it executes the login shell.

The abbreviation "motd" stands for "message of the day", and this file has been traditionally used for exactly that (it requires much less disk space than mail to all users). On Debian GNU/Linux, dynamic content configured at /etc/pam.d/login is also displayed by pam_exec.

Files

/etc/motd /etc/pam.d/login

See Also

  1. login(1),
  2. issue(5),
  3. pam_motd(8)

Colophon

This page is part of release 5.13 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at \%https://www.kernel.org/doc/man-pages/.

Other Projects

This man page is also found in other projects: