[Pkg-shadow-commits] r2478 - in upstream/trunk: . src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Tue Jan 6 20:13:31 UTC 2009
Author: nekral-guest
Date: 2009-01-06 20:13:31 +0000 (Tue, 06 Jan 2009)
New Revision: 2478
Modified:
upstream/trunk/ChangeLog
upstream/trunk/NEWS
upstream/trunk/README
upstream/trunk/TODO
upstream/trunk/src/su.c
Log:
* NEWS, src/su.c: Preserve COLORTERM in addition to TERM when su
is called with the -l option.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-12-23 22:42:22 UTC (rev 2477)
+++ upstream/trunk/ChangeLog 2009-01-06 20:13:31 UTC (rev 2478)
@@ -1,3 +1,8 @@
+2009-01-06 Sebastian Rick Rijkers <srrijkers at gmail.com>
+
+ * NEWS, src/su.c: Preserve COLORTERM in addition to TERM when su
+ is called with the -l option.
+
2008-12-23 Nicolas François <nicolas.francois at centraliens.net>
* libmisc/chkname.c: Use a bool when possible instead of integers.
Modified: upstream/trunk/NEWS
===================================================================
--- upstream/trunk/NEWS 2008-12-23 22:42:22 UTC (rev 2477)
+++ upstream/trunk/NEWS 2009-01-06 20:13:31 UTC (rev 2478)
@@ -69,6 +69,8 @@
* For compatibility with other passwd version, the --lock an --unlock
options do not lock or unlock the user account anymore. They only
lock or unlock the user's password.
+- su
+ *
- useradd
* audit logging improvements.
* Speedup (see "addition of users or groups" above).
Modified: upstream/trunk/README
===================================================================
--- upstream/trunk/README 2008-12-23 22:42:22 UTC (rev 2477)
+++ upstream/trunk/README 2009-01-06 20:13:31 UTC (rev 2478)
@@ -1,14 +1,19 @@
Shadow SITES
============
+Homepage
+ http://pkg-shadow.alioth.debian.org/
+
FTP site
ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow
SVN repository
- anonymous read only access: svn://svn.debian.org/pkg-shadow/
+ anonymous read only access: svn://svn.debian.org/pkg-shadow/upstream
SVN web interface
- http://svn.debian.org/wsvn/pkg-shadow
+ http://svn.debian.org/wsvn/pkg-shadow/upstream
+ or
+ http://svn.debian.org/viewsvn/pkg-shadow/upstream
Mailing lists
for general discuss: pkg-shadow-devel at lists.alioth.debian.org
@@ -84,6 +89,7 @@
Martin Mares <mj at gts.cz>
Michael Meskes <meskes at topsystem.de>
Michael Talbot-Wilson <mike at calypso.bns.com.au>
+Mike Frysinger <vapier at gentoo.org>
Mike Pakovic <mpakovic at users.southeast.net>
Nicolas François <nicolas.francois at centraliens.net>
Nikos Mavroyanopoulos <nmav at i-net.paiko.gr>
@@ -92,7 +98,8 @@
Rafał Maszkowski <rzm at icm.edu.pl>
Rani Chouha <ranibey at smartec.com>
Sami Kerola <kerolasa at rocketmail.com>
-Seraphim Mellos <mellos at ceid.upatras.gr>
+Sebastian Rick Rijkers <srrijkers at gmail.com>
+Seraphim Mellos <mellos at ceid.upatras.gr>
Shane Watts <shane at nexus.mlckew.edu.au>
Steve M. Robbins <steve at nyongwa.montreal.qc.ca>
Thorsten Kukuk <kukuk at suse.de>
@@ -104,5 +111,6 @@
Maintainers
===========
-Tomasz Kłoczko <kloczek at pld.org.pl> (2000-2006)
+Tomasz Kłoczko <kloczek at pld.org.pl> (2000-2007)
+Nicolas François <nicolas.francois at centraliens.net> (2007-now)
Modified: upstream/trunk/TODO
===================================================================
--- upstream/trunk/TODO 2008-12-23 22:42:22 UTC (rev 2477)
+++ upstream/trunk/TODO 2009-01-06 20:13:31 UTC (rev 2478)
@@ -1,3 +1,8 @@
+groupadd.8.xml
+ * Groupnames may only be up to 16 characters long.
+ => remove the note if no limits.
+ => should depend on the --with-group-name-max-length option
+
libxcrypt support
* http://wiki.linuxfromscratch.org/patches/browser/trunk/shadow/shadow-4.0.18.1-owl_blowfish-1.patch
@@ -95,6 +100,10 @@
- Add check to move passwd passwords to shadow if there is a shadow
file.
+- su
+ - add a login.defs configuration parameter to add variables to keep in
+ the environment with "su -l" (TERM/TERMCOLOR/...
+
- vipw:
- Is MAX_MEMBERS_PER_GROUP used by vipw?
Modified: upstream/trunk/src/su.c
===================================================================
--- upstream/trunk/src/su.c 2008-12-23 22:42:22 UTC (rev 2477)
+++ upstream/trunk/src/su.c 2009-01-06 20:13:31 UTC (rev 2478)
@@ -561,6 +561,20 @@
if (NULL != cp) {
addenv ("TERM", cp);
}
+
+ /*
+ * For some terminals COLORTERM seems to be the only way
+ * for checking for that specific terminal. For instance,
+ * gnome-terminal sets its TERM as "xterm" but its
+ * COLORTERM as "gnome-terminal". The COLORTERM variable
+ * is also of use when running GNU screen since it sets
+ * TERM to "screen" but doesn't touch COLORTERM.
+ */
+ cp = getenv ("COLORTERM");
+ if (NULL != cp) {
+ addenv ("COLORTERM", cp);
+ }
+
#ifndef USE_PAM
cp = getdef_str ("ENV_TZ");
if (NULL != cp) {
More information about the Pkg-shadow-commits
mailing list