diff options
author | Colin Watson <cjwatson@debian.org> | 2014-08-05 08:33:59 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2014-08-05 08:33:59 +0100 |
commit | e61f7c4d94f348cb172e595f2e8a09c7ed201510 (patch) | |
tree | 8d4eed8ff88066b5b28ef9002c81bef0233b2e93 /debian/openssh-server.sshd.pam.in | |
parent | 6e74d993e36261c1f323a2cbcd70d73d9d5435dc (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.in | 4 |
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. |
33 | session optional pam_motd.so motd=/run/motd.dynamic noupdate | 33 | session optional pam_motd.so motd=/run/motd.dynamic |
34 | session optional pam_motd.so # [1] | 34 | session 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. |
37 | session optional pam_mail.so standard noenv # [1] | 37 | session optional pam_mail.so standard noenv # [1] |