blob: e1e7ee4bf42576ce2a9c6b7d607e3b8bfe7d4891 (
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
|
From: "Dr. Tobias Quathamer" <toddy@debian.org>
Date: Sat, 6 Feb 2016 01:22:57 +0100
Subject: motd.5
---
man5/motd.5 | 12 ++++++++++++
1 file changed, 12 insertions(+)
--- a/man5/motd.5
+++ b/man5/motd.5
@@ -12,12 +12,20 @@
The contents of
.I /etc/motd
are displayed by
-.BR login (1)
+.\" 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
+.I pam_exec
.SH FILES
.I /etc/motd
.SH SEE ALSO
|