x11-forward und sudo
Cord Beermann
cord at Wunder-Nett.org
Thu Feb 17 21:54:41 CET 2011
Hallo! Du (Thomas Bäumer) hast geschrieben:
>Schon komisch.... zum einen scheint sudo da nix zu vererben und zum
>anderen wird /root/.Xauthority nicht angelegt. Warum auch immer.
guck mal hier: /usr/share/doc/sudo/NEWS.Debian.gz
-------------------------------------------------------------
sudo (1.7.4p4-2) unstable; urgency=low
The HOME and MAIL environment variables are now reset based on the
target user's password database entry when the env_reset sudoers option
is enabled (which is the case in the default configuration). Users
wishing to preserve the original values should use a sudoers entry like:
Defaults env_keep += HOME
to preserve the old value of HOME and
Defaults env_keep += MAIL
to preserve the old value of MAIL.
The change in handling of HOME is known to affect programs like pbuilder.
-- Bdale Garbee <bdale at gag.com> Wed, 08 Sep 2010 14:29:16 -0600
-------------------------------------------------------------
$HOME wird seit 1.7.4p4-2 nicht mehr per default vererbt.
Cord
More information about the Linux
mailing list