summaryrefslogtreecommitdiff
path: root/debian/openssh-server.sshd.pam
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 /debian/openssh-server.sshd.pam
parent08464116188cea369c95726f56d32b171b0785c9 (diff)
Display dynamic part of MOTD from /run/motd.dynamic, if it exists
(closes: #669699).
Diffstat (limited to 'debian/openssh-server.sshd.pam')
-rw-r--r--debian/openssh-server.sshd.pam3
1 files changed, 3 insertions, 0 deletions
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.