File: 0007-motd.5.patch

package info (click to toggle)
manpages 4.10-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,464 kB
  • ctags: 5
  • sloc: sh: 435; python: 166; makefile: 75; lisp: 22
file content (44 lines) | stat: -rw-r--r-- 1,090 bytes parent folder | download | duplicates (2)
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
38
39
40
41
42
43
44
From: "Dr. Tobias Quathamer" <toddy@debian.org>
Date: Sat, 6 Feb 2016 01:22:57 +0100
Subject: motd.5

---
 man5/motd.5 | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/man5/motd.5 b/man5/motd.5
index 5aa1eb1..6927c75 100644
--- a/man5/motd.5
+++ b/man5/motd.5
@@ -31,17 +31,28 @@ motd \- message of the day
 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.
 
 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
-/etc/motd
+.I /etc/motd
+.br
+.I /etc/pam.d/login
 .SH SEE ALSO
 .BR login (1),
-.BR issue (5)
+.BR issue (5),
+.BR pam_motd (8)
 .SH COLOPHON
 This page is part of release 4.10 of the Linux
 .I man-pages