[Pkg-shadow-commits] r3194 - in upstream/trunk: . src
Nicolas FRANÇOIS
nekral-guest at alioth.debian.org
Tue Mar 30 21:32:37 UTC 2010
Author: nekral-guest
Date: 2010-03-30 21:32:36 +0000 (Tue, 30 Mar 2010)
New Revision: 3194
Modified:
upstream/trunk/ChangeLog
upstream/trunk/src/su.c
Log:
* src/su.c: shell's name must be -su when a su fakes a login.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2010-03-30 21:01:27 UTC (rev 3193)
+++ upstream/trunk/ChangeLog 2010-03-30 21:32:36 UTC (rev 3194)
@@ -1,5 +1,9 @@
2010-03-30 Nicolas François <nicolas.francois at centraliens.net>
+ * src/su.c: shell's name must be -su when a su fakes a login.
+
+2010-03-30 Nicolas François <nicolas.francois at centraliens.net>
+
* NEWS, configure.in, libmisc/copydir.c, man/useradd.8.xml,
man/usermod.8.xml, src/Makefile.am: Added support for ACLs and
Extended Attributes.
Modified: upstream/trunk/src/su.c
===================================================================
--- upstream/trunk/src/su.c 2010-03-30 21:01:27 UTC (rev 3193)
+++ upstream/trunk/src/su.c 2010-03-30 21:32:36 UTC (rev 3194)
@@ -1021,7 +1021,7 @@
* Use the shell and create an argv
* with the rest of the command line included.
*/
- argv[-1] = shellstr;
+ argv[-1] = cp;
#ifndef USE_PAM
execve_shell (shellstr, &argv[-1], environ);
err = errno;
More information about the Pkg-shadow-commits
mailing list