Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 1995 10:26:53 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        henrich@crh.cl.msu.edu (Charles Henrich)
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: should su retain ${DISPLAY}
Message-ID:  <199504090826.KAA05800@uriah.heep.sax.de>
In-Reply-To: <199504090700.AAA07691@freefall.cdrom.com> from "Charles Henrich" at Apr 9, 95 03:00:08 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Charles Henrich wrote:
> 
> >t is therefore arguable that not preserving DISPLAY in these cases
> >is, in fact, the right thing to do.
> 
> Your right, it should completely reset the environment as if it was a fresh
> login.

See my other argumentation: it does already import TERM.

>  Speaking of su, why the hell doesnt FreeBSD's su support -c cmd like
> every other su on the planet?

Since you have not implemented it yet. ;-)

(...and other people are comfortable enough with ``echo foo | su'')
-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
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?199504090826.KAA05800>