Re: Bug#609839: unblock: sudo/1.7.4p4-6
Also, I would like to add that there is a serious (imho) regression in
-2 which should probably be considered release-critical: the bug is
#596493: "keep HOME by default even when env_reset is true"
The default /etc/sudoers has
Defaults env_reset
which means that the bug is triggered with the default conf.
Currently, assuming that host2 is running squeeze with the default
/etc/sudoers, the execution of...
user1@host1$ ssh -X user2@host2
user2@host2$ sudo xterm
...fails because HOME is being set to /root by sudo, so xauth finds the
wrong cookie in $HOME/.Xauthority .
This breaks an expected (and widely relied upon) behavior in a
non-obvious way, which took me a little to figure out. Also, a lot of
other programs use HOME and users expect sudo not to screw things up.
Bug #596493 is fixed in -4, so I support this request to unfreeze sudo.
Regards,
Andrea Azzini
Reply to: