blob: 7e6abc2931b5133447c3234130d9b60f59cf83f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
.\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
.\" Fri Apr 2 11:32:09 MET DST 1993
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
.\" Modified Sat Jul 24 17:08:16 1993 by Rik Faith <faith@cs.unc.edu>
.\" Modified Mon Oct 21 17:47:19 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
.TH motd 5 2022-10-30 "Linux man-pages 6.03"
.SH NAME
motd \- message of the day
.SH DESCRIPTION
The contents of
.I /etc/motd
are displayed by
.\" Patched in Debian, maybe other distribs
.BR pam_motd (8)
.\" End of patch
.\" .BR login (1)
.BR login (1)
after a successful login but just before it executes the login shell.
.PP
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
.I /etc/pam.d/login
is also displayed by
.IR pam_exec .
.SH FILES
.I /etc/motd
.br
.I /etc/pam.d/login
.SH SEE ALSO
.BR login (1),
.BR issue (5)
.BR pam_motd (8)
|