Josselin Mouette <j...@debian.org> writes:

> it has been brought to my attention (through #512803) that su does not
> clean the environment at all. [... ] 
>
> Before I work around this specific issue in the fugliest way, shouldn’t
> we prevent su from preserving the environment?

compare this:

 su -c env

to

 su -c env -


the latter command indeed prunes the environment, and calling

 su -c gnome-terminal -

sucessfully fails (heh) with failing to open a display. whats the
problem here?

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to