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

Christian Perrier bubulle at costa.debian.org
Wed May 31 16:36:36 UTC 2006


Author: bubulle
Date: 2006-05-31 16:36:35 +0000 (Wed, 31 May 2006)
New Revision: 1008

Modified:
   trunk/debian/changelog
   trunk/debian/login.su.pam
Log:
Read /etc/default/locale in su PAM config file


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-05-31 16:30:22 UTC (rev 1007)
+++ trunk/debian/changelog	2006-05-31 16:36:35 UTC (rev 1008)
@@ -5,6 +5,8 @@
   * Debian specific fixes:
     - 504_undef_USE_PAM.dpatch: do not use PAM for chgpasswd
       Closes: #369439
+  * Read /etc/default/locale in su PAM config file
+    Closes: #369391
 
  -- Christian Perrier <bubulle at debian.org>  Wed, 31 May 2006 22:57:00 +0700
 

Modified: trunk/debian/login.su.pam
===================================================================
--- trunk/debian/login.su.pam	2006-05-31 16:30:22 UTC (rev 1007)
+++ trunk/debian/login.su.pam	2006-05-31 16:36:35 UTC (rev 1008)
@@ -34,6 +34,9 @@
 # 
 # parsing /etc/environment needs "readenv=1"
 session       required   pam_env.so readenv=1
+# locale variables are also kept into /etc/default/locale in etch
+# reading this file *in addition to /etc/environment* does not hurt
+session       required   pam_env.so readenv=1 envfile=/etc/default/locale
 
 # Defines the MAIL environment variable
 # However, userdel also needs MAIL_DIR and MAIL_FILE variables




More information about the Pkg-shadow-commits mailing list