[Pkg-shadow-commits] r3716 - debian/trunk/debian

Christian Perrier bubulle at alioth.debian.org
Sat Apr 21 12:06:56 UTC 2012


Author: bubulle
Date: 2012-04-21 12:06:55 +0000 (Sat, 21 Apr 2012)
New Revision: 3716

Modified:
   debian/trunk/debian/changelog
   debian/trunk/debian/login.pam
Log:
Separation of static and dynamic motd components in login PAM module
Closes: #669698

Modified: debian/trunk/debian/changelog
===================================================================
--- debian/trunk/debian/changelog	2012-04-15 10:54:54 UTC (rev 3715)
+++ debian/trunk/debian/changelog	2012-04-21 12:06:55 UTC (rev 3716)
@@ -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 <bubulle at debian.org>  Sun, 15 Apr 2012 12:54:24 +0200
 
 shadow (1:4.1.5.1-1) unstable; urgency=low

Modified: debian/trunk/debian/login.pam
===================================================================
--- debian/trunk/debian/login.pam	2012-04-15 10:54:54 UTC (rev 3715)
+++ debian/trunk/debian/login.pam	2012-04-21 12:06:55 UTC (rev 3716)
@@ -80,8 +80,11 @@
 # (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




More information about the Pkg-shadow-commits mailing list