summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2012-04-21 10:58:34 +0100
committerColin Watson <cjwatson@debian.org>2012-04-21 10:58:34 +0100
commit15ac0065239c92fb681c2fa8bbb0e48c68d7d114 (patch)
tree31cf7cf48655d90d9e79452b23ce3c35524610bc
parent08464116188cea369c95726f56d32b171b0785c9 (diff)
Display dynamic part of MOTD from /run/motd.dynamic, if it exists
(closes: #669699).
-rw-r--r--debian/changelog8
-rw-r--r--debian/openssh-server.sshd.pam3
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 0b0189f27..17d3eb615 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
1openssh (1:5.9p1-6) UNRELEASED; urgency=low
2
3 [ Roger Leigh ]
4 * Display dynamic part of MOTD from /run/motd.dynamic, if it exists
5 (closes: #669699).
6
7 -- Colin Watson <cjwatson@debian.org> Sat, 21 Apr 2012 10:57:23 +0100
8
1openssh (1:5.9p1-5) unstable; urgency=low 9openssh (1:5.9p1-5) unstable; urgency=low
2 10
3 * Use dpkg-buildflags, including for hardening support; drop use of 11 * Use dpkg-buildflags, including for hardening support; drop use of
diff --git a/debian/openssh-server.sshd.pam b/debian/openssh-server.sshd.pam
index 9b7695184..7c0d5417d 100644
--- a/debian/openssh-server.sshd.pam
+++ b/debian/openssh-server.sshd.pam
@@ -24,6 +24,9 @@ account required pam_nologin.so
24@include common-session 24@include common-session
25 25
26# Print the message of the day upon successful login. 26# Print the message of the day upon successful login.
27# This includes a dynamically generated part from /run/motd.dynamic
28# and a static (admin-editable) part from /etc/motd.
29session optional pam_motd.so motd=/run/motd.dynamic
27session optional pam_motd.so # [1] 30session optional pam_motd.so # [1]
28 31
29# Print the status of the user's mailbox upon successful login. 32# Print the status of the user's mailbox upon successful login.