Bug#512803: Why is su preserving the environment?
Reinhard Tartler
siretart at tauware.de
Sat Jan 24 08:04:52 UTC 2009
Josselin Mouette <joss at 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
More information about the pkg-gnome-maintainers
mailing list