Date: Sun, 9 Apr 1995 09:19:32 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-current@FreeBSD.org (FreeBSD-current users) Subject: Re: should su retain ${DISPLAY} Message-ID: <199504090719.JAA05076@uriah.heep.sax.de> In-Reply-To: <1112.797400000@freefall.cdrom.com> from "Jordan K. Hubbard" at Apr 8, 95 09:00:00 pm
next in thread | previous in thread | raw e-mail | index | archive | help
As Jordan K. Hubbard wrote: > > It executes the dotfiles for whichever user you're su'ing to. I think > of `su -' as "su, but flush my current environment totally and adopt > that of the user I'm su'ing to." The su source speaks about ``asthem'' for this case... > It is therefore arguable that not preserving DISPLAY in these cases > is, in fact, the right thing to do. Yes and no. (That's why i've been asking it to -hackers.) It does already preserve TERM. So it's also arguable that DISPLAY is in the same boat as TERM in a windowing environment and should be retained. -- 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?199504090719.JAA05076>