kloczek: shadow/src su.c

PLD CVS <[email protected]> Mon, 2 Jan 2006 23:37:28 +0100 (CET)
Newsgroups gmane.linux.pld.shadow.cvs
Message-ID <[email protected]>
Module name:	shadow
Changes by:	kloczek	06/01/02 23:37:28

Modified files:
	src            : su.c 

Log message:
without it, $(su - user -c "echo \$SHELL") wont return the good value, but
$(su user -c "echo \$SHELL") will.
I think LOGNAME can also be set (this is done in setup_env, in the
fakelogin case).
(by Nicolas François <[email protected]>)

Revision  Changes    Path
1.60      +5 -3      shadow/src/su.c