summaryrefslogtreecommitdiff
path: root/debian/login.pam
diff options
context:
space:
mode:
authorbubulle <bubulle@5a98b0ae-9ef6-0310-add3-de5d479b70d7>2012-04-21 12:06:55 +0000
committerbubulle <bubulle@5a98b0ae-9ef6-0310-add3-de5d479b70d7>2012-04-21 12:06:55 +0000
commitac43a9a2d543ce731b3a8adfd8ae06e2b457fc3d (patch)
tree8732ced91ffef46622e5ce315ceb2b93657d5d66 /debian/login.pam
parent5c999162faedc8783ec6c655b812dfeba445216e (diff)
downloadshadow-ac43a9a2d543ce731b3a8adfd8ae06e2b457fc3d.tar.gz
Separation of static and dynamic motd components in login PAM module
Closes: #669698
Diffstat (limited to 'debian/login.pam')
-rw-r--r--debian/login.pam5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/login.pam b/debian/login.pam
index f1e43b21..1c8af15f 100644
--- a/debian/login.pam
+++ b/debian/login.pam
@@ -80,8 +80,11 @@ session required pam_limits.so
# (Replaces the `LASTLOG_ENAB' option from login.defs)
session optional pam_lastlog.so
-# Prints the motd upon succesful login
+# Prints the message of the day upon succesful login.
# (Replaces the `MOTD_FILE' option in login.defs)
+# This includes a dynamically generated part from /run/motd.dynamic
+# and a static (admin-editable) part from /etc/motd.
+session optional pam_motd.so motd=/run/motd.dynamic
session optional pam_motd.so
# Prints the status of the user's mailbox upon succesful login