Date: Mon, 7 Oct 1996 10:13:42 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-hackers@freebsd.org (FreeBSD hackers) Cc: hasty@rah.star-gate.com (Amancio Hasty) Subject: Re: su problem Message-ID: <199610070813.KAA13826@uriah.heep.sax.de> In-Reply-To: <199610062136.OAA00365@rah.star-gate.com> from Amancio Hasty at "Oct 6, 96 02:36:27 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Amancio Hasty wrote:
> The problem is easy . I just ran the debugger in rc.local and debugged
> su .
>
> What it show is that su does:
> p = getenv("TERM");
> cleanenv[0] = NULL;
> environ = cleanenv;
> (void)setenv("PATH", _PATH_DEFPATH, 1);
> (void)setenv("TERM", p, 1);
> ^^^ p is NULL
> because TERM is not defined
Thanks, now the picture is much clearer!
--
cheers, J"org
joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610070813.KAA13826>
