summaryrefslogtreecommitdiff
path: root/debian/openssh-server.sshd.pam.in
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-08-05 08:33:59 +0100
committerColin Watson <cjwatson@debian.org>2014-08-05 08:33:59 +0100
commite61f7c4d94f348cb172e595f2e8a09c7ed201510 (patch)
tree8d4eed8ff88066b5b28ef9002c81bef0233b2e93 /debian/openssh-server.sshd.pam.in
parent6e74d993e36261c1f323a2cbcd70d73d9d5435dc (diff)
Pass noupdate to the second call to pam_motd, not the first (thanks, Ken T Takusagawa; closes: #757059).
Diffstat (limited to 'debian/openssh-server.sshd.pam.in')
-rw-r--r--debian/openssh-server.sshd.pam.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/openssh-server.sshd.pam.in b/debian/openssh-server.sshd.pam.in
index bbc3dba97..2cad67da6 100644
--- a/debian/openssh-server.sshd.pam.in
+++ b/debian/openssh-server.sshd.pam.in
@@ -30,8 +30,8 @@ session required pam_loginuid.so
30# Print the message of the day upon successful login. 30# Print the message of the day upon successful login.
31# This includes a dynamically generated part from /run/motd.dynamic 31# This includes a dynamically generated part from /run/motd.dynamic
32# and a static (admin-editable) part from /etc/motd. 32# and a static (admin-editable) part from /etc/motd.
33session optional pam_motd.so motd=/run/motd.dynamic noupdate 33session optional pam_motd.so motd=/run/motd.dynamic
34session optional pam_motd.so # [1] 34session optional pam_motd.so noupdate
35 35
36# Print the status of the user's mailbox upon successful login. 36# Print the status of the user's mailbox upon successful login.
37session optional pam_mail.so standard noenv # [1] 37session optional pam_mail.so standard noenv # [1]