From ac43a9a2d543ce731b3a8adfd8ae06e2b457fc3d Mon Sep 17 00:00:00 2001 From: bubulle Date: Sat, 21 Apr 2012 12:06:55 +0000 Subject: Separation of static and dynamic motd components in login PAM module Closes: #669698 --- debian/changelog | 5 +++++ debian/login.pam | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 669c40cc..34ff5916 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,12 @@ shadow (1:4.1.5.1-2) UNRELEASED; urgency=low + [ Christian Perrier ] * Complete Polish translation of logoutd(8. Closes: #668880 + [ Roger Leigh ] + * Separation of static and dynamic motd components in login PAM module + Closes: #669698 + -- Christian Perrier Sun, 15 Apr 2012 12:54:24 +0200 shadow (1:4.1.5.1-1) unstable; urgency=low 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 -- cgit v1.2.1