diff options
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | debian/openssh-server.sshd.pam | 3 |
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 @@ | |||
1 | openssh (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 | |||
1 | openssh (1:5.9p1-5) unstable; urgency=low | 9 | openssh (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. | ||
29 | session optional pam_motd.so motd=/run/motd.dynamic | ||
27 | session optional pam_motd.so # [1] | 30 | session 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. |