File: motd.5

package info (click to toggle)
manpages 6.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,184 kB
  • sloc: sh: 575; python: 222; perl: 190; makefile: 29; lisp: 22
file content (30 lines) | stat: -rw-r--r-- 782 bytes parent folder | download
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
.\" Copyright, the authors of the Linux man-pages project
.\"
.\" SPDX-License-Identifier: GPL-2.0-or-later
.\"
.TH motd 5 2025-05-17 "Linux man-pages (unreleased)"
.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)
after a successful login but just before it executes the login shell.
.P
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).
.P
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
.SH SEE ALSO
.BR login (1),
.BR issue (5)