[Pkg-shadow-commits] r677 - trunk/debian/patches
Christian Perrier
bubulle at costa.debian.org
Sat Dec 3 06:50:54 UTC 2005
Author: bubulle
Date: 2005-12-03 06:50:53 +0000 (Sat, 03 Dec 2005)
New Revision: 677
Added:
trunk/debian/patches/335_su_addenv_HOME_and_SHELL
Removed:
trunk/debian/patches/435_su_addenv_HOME_and_SHELL
Log:
Move fixed patch to 3xx series
Copied: trunk/debian/patches/335_su_addenv_HOME_and_SHELL (from rev 676, trunk/debian/patches/435_su_addenv_HOME_and_SHELL)
Deleted: trunk/debian/patches/435_su_addenv_HOME_and_SHELL
===================================================================
--- trunk/debian/patches/435_su_addenv_HOME_and_SHELL 2005-12-03 06:50:30 UTC (rev 676)
+++ trunk/debian/patches/435_su_addenv_HOME_and_SHELL 2005-12-03 06:50:53 UTC (rev 677)
@@ -1,22 +0,0 @@
-Goal: Export USER and SHELL as well as HOME.
-Fixes: maybe #11003 and #11189
-
-Status wrt upstream: Fixed in 4.0.14
-
-Index: shadow-4.0.13/src/su.c
-===================================================================
---- shadow-4.0.13.orig/src/su.c 2005-10-04 08:06:34.164595165 +0200
-+++ shadow-4.0.13/src/su.c 2005-10-04 08:07:14.573361562 +0200
-@@ -668,8 +668,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
-
- /*
More information about the Pkg-shadow-commits
mailing list