From owner-freebsd-current Sat Apr 8 10:31:28 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA19142 for current-outgoing; Sat, 8 Apr 1995 10:31:28 -0700 Received: from campino.informatik.rwth-aachen.de (campino.Informatik.RWTH-Aachen.DE [137.226.225.2]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id KAA19136 for ; Sat, 8 Apr 1995 10:31:27 -0700 Received: from gilberto.physik.rwth-aachen.de by campino.informatik.rwth-aachen.de (4.1/campino-6) id AA13297; Sat, 8 Apr 95 19:31:15 +0200 Received: (from kuku@localhost) by gilberto.physik.rwth-aachen.de (8.6.8/8.6.9) id TAA10286; Sat, 8 Apr 1995 19:36:37 +0200 Message-Id: <199504081736.TAA10286@gilberto.physik.rwth-aachen.de> Subject: Re: should su retain ${DISPLAY} To: joerg_wunsch@uriah.heep.sax.de Date: Sat, 8 Apr 1995 19:36:36 +0200 (MET DST) Cc: freebsd-current@freefall.cdrom.com (user alias) In-Reply-To: <199504081344.PAA00343@uriah.heep.sax.de> from "J Wunsch" at Apr 8, 95 03:44:00 pm From: Christoph Kukulies Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 845 Sender: current-owner@FreeBSD.org Precedence: bulk > > What do people think about an extension to the su(1) command that > retains the ${DISPLAY} variable even across an ``su -''? Excuse my ignorance: What does su - do? I don't see it documented. It looks like it executes roots dotfiles. I also see $DISPLAY preserved during a normal 'su'. When you su to root from a normal user you can't connect to the server (0:0) anyway (unless you have enabled access before - xhost +). > > Seen on IRIX, think it's nice to have it. > -- > 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. ;-) > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de FreeBSD blues 2.1.0-Development FreeBSD 2.1.0-Development #0: Mon Apr 3 17:10:12 MET DST 1995 root@blues:/usr/src/sys/compile/BLUESGUS i386