Re: X-Window/XTerm and environement variables
Sam Morris <sam@robots.org.uk> wrote:
> Michelle Konzack wrote:
>> Because I am working in a secured environement, XTerm break it,
>> while droping the TEMPDIR variable which was set from /etc/profile,
>> ~/.bash_login or ~/.xsession.
>>
>> Generaly it is set using:
>>
>> mkdir -p /tmp/$USER
>> chmod 700 /tmp/$USER
>> export TMPDIR=/tmp/$USER
> Could you try another terminal emulator? Xterm is setgid to the utmp
> group:
alternatively, one could request that xterm be built with something like
utempter...
> -rwxr-sr-x 1 root utmp 288K 2006-03-17 01:19 /usr/bin/xterm
> This causes glibc to purge 'harmful' environment variables from its
> environment when it is run, including TMPDIR.
yes (the number of people who have a genuine need to do this is very small -
I'm curious if there are any who are working in a secured environment).
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
Reply to: