Debian Codegraph @

upstream/debian-unstable/man5/motd.5

raw
1 .\" Copyright, the authors of the Linux man-pages project
2 .\"
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
4 .\"
5 .TH motd 5 2025-05-17 "Linux man-pages 6.18"
6 .SH NAME
7 motd \- message of the day
8 .SH DESCRIPTION
9 The contents of
10 .I /etc/motd
11 are displayed by
12 .\" Patched in Debian, maybe other distribs
13 .BR pam_motd (8)
14 .\" End of patch
15 .\" .BR login (1)
16 after a successful login but just before it executes the login shell.
17 .P
18 The abbreviation "motd" stands for "message of the day", and this file
19 has been traditionally used for exactly that (it requires much less disk
20 space than mail to all users).
21 .P
22 On Debian GNU/Linux, dynamic content configured at
23 .I /etc/pam.d/login
24 is also displayed by
25 .IR pam_exec .
26 .SH FILES
27 .I /etc/motd
28 .SH SEE ALSO
29 .BR login (1),
30 .BR issue (5)