Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Apr 1995 19:36:36 +0200 (MET DST)
From:      Christoph Kukulies <kuku@gilberto.physik.rwth-aachen.de>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        freebsd-current@freefall.cdrom.com (user alias)
Subject:   Re: should su retain ${DISPLAY}
Message-ID:  <199504081736.TAA10286@gilberto.physik.rwth-aachen.de>
In-Reply-To: <199504081344.PAA00343@uriah.heep.sax.de> from "J Wunsch" at Apr 8, 95 03:44:00 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504081736.TAA10286>