From owner-freebsd-current Mon Apr 10 11:52:18 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA17804 for current-outgoing; Mon, 10 Apr 1995 11:52:18 -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 LAA17797 for ; Mon, 10 Apr 1995 11:52:06 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de with SMTP (5.67b+/DEC-Ultrix/4.3) id AA18725; Mon, 10 Apr 1995 20:51:29 +0200 Received: by sax.sax.de (8.6.9/8.6.9-s1) with UUCP id UAA26159 for freebsd-current@FreeBSD.org; Mon, 10 Apr 1995 20:51:28 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.11/8.6.9) id UAA00595 for freebsd-current@FreeBSD.org; Mon, 10 Apr 1995 20:26:40 +0200 From: J Wunsch Message-Id: <199504101826.UAA00595@uriah.heep.sax.de> Subject: Re: should su retain ${DISPLAY} To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Mon, 10 Apr 1995 20:26:40 +0200 (MET DST) In-Reply-To: <9504101728.AA24173@cs.weber.edu> from "Terry Lambert" at Apr 10, 95 11:28:15 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: 476 Sender: current-owner@FreeBSD.org Precedence: bulk As Terry Lambert wrote: > > The TERM variable designates an output device. > > The DISPLAY variable designates a resource. > ... > Becoming root in such a case results in losing access to the resource, > unless you are prepared to hack .Xauthority, etc. in the su program. I think this is a sufficient argument against it. Ok. -- 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. ;-)