[Pkg-shadow-commits] r324 - trunk/debian/patches

Nicolas FRANCOIS pkg-shadow-devel@lists.alioth.debian.org
Wed, 29 Jun 2005 21:17:10 +0000


Author: nekral-guest
Date: 2005-06-29 21:17:10 +0000 (Wed, 29 Jun 2005)
New Revision: 324

Added:
   trunk/debian/patches/435_su_addenv_HOME_and_SHELL
Removed:
   trunk/debian/patches/008_su_addenv_HOME_and_SHELL
Modified:
   trunk/debian/patches/series
Log:
This patch makes sense and was requested by some users.
Keep it.


Deleted: trunk/debian/patches/008_su_addenv_HOME_and_SHELL
===================================================================
--- trunk/debian/patches/008_su_addenv_HOME_and_SHELL	2005-06-29 21:06:19 UTC (rev 323)
+++ trunk/debian/patches/008_su_addenv_HOME_and_SHELL	2005-06-29 21:17:10 UTC (rev 324)
@@ -1,22 +0,0 @@
-Goal: Export USER and SHELL as well as HOME.
-Fixes: maybe #11003 and #11189
-
-Status wrt upstream: It should be proposed to upstream.
-
-Index: shadow-4.0.3/src/su.c
-===================================================================
---- shadow-4.0.3.orig/src/su.c	2005-05-30 00:48:15.997531000 +0200
-+++ shadow-4.0.3/src/su.c	2005-05-30 00:53:34.157531000 +0200
-@@ -576,8 +576,11 @@
- 	if (fakelogin)
- 		setup_env (&pwent);
- #if 1				/* Suggested by Joey Hess. XXX - is this right?  */
--	else
-+	else {
- 		addenv ("HOME", pwent.pw_dir);
-+		addenv ("USER", pwent.pw_name);
-+		addenv ("SHELL", pwent.pw_shell);
-+	}
- #endif
- 
- 	/*

Copied: trunk/debian/patches/435_su_addenv_HOME_and_SHELL (from rev 310, trunk/debian/patches/008_su_addenv_HOME_and_SHELL)

Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series	2005-06-29 21:06:19 UTC (rev 323)
+++ trunk/debian/patches/series	2005-06-29 21:17:10 UTC (rev 324)
@@ -21,7 +21,7 @@
 353_groupdel.8
 351_libmisc_failure_UTMPX
 006_libmisc_chowntty_ro_root_fs
-008_su_addenv_HOME_and_SHELL
+435_su_addenv_HOME_and_SHELL
 431_su_uid_0_not_root
 008_su_add_GNU_options
 430_su_ignore_SIGINT