From owner-freebsd-current Sun Apr 9 01:38:08 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id BAA12031 for current-outgoing; Sun, 9 Apr 1995 01:38:08 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id BAA12024 for ; Sun, 9 Apr 1995 01:38:01 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA28050; Sun, 9 Apr 1995 10:37:25 +0200 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id KAA04854; Sun, 9 Apr 1995 10:37:25 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id KAA05800; Sun, 9 Apr 1995 10:26:54 +0200 From: J Wunsch Message-Id: <199504090826.KAA05800@uriah.heep.sax.de> Subject: Re: should su retain ${DISPLAY} To: henrich@crh.cl.msu.edu (Charles Henrich) Date: Sun, 9 Apr 1995 10:26:53 +0200 (MET DST) Cc: freebsd-current@FreeBSD.org In-Reply-To: <199504090700.AAA07691@freefall.cdrom.com> from "Charles Henrich" at Apr 9, 95 03:00:08 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 647 Sender: current-owner@FreeBSD.org Precedence: bulk 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. ;-)