Activity log for bug #889936

Date Who What changed Old value New value Message
2011-11-13 19:30:32 Tom bug added bug
2011-11-13 19:30:32 Tom attachment added /etc/sudoers https://bugs.launchpad.net/bugs/889936/+attachment/2595792/+files/sudoers
2011-11-13 19:32:13 Tom description Version: 1.7.4p6-1ubuntu2 on Ubuntu 11.10 What happens: sudo(8) contains "By default, sudo will set HOME if env_reset or always_set_home are set" and "Set to the home directory of the target user if -i or -H are specified, env_reset or always_set_home are set in sudoers" What I expect to happen: sudo(8) should not claim that HOME is set if env_reset is set. I believe sudo(8) should not claim this because sudo does /not/ set HOME if env_reset is set, which is the expected behaviour according to https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/760140 . Using the default /etc/sudoers (which I have attached): $ sudo env | grep HOME HOME=/home/tom $ sudo -H env | grep HOME HOME=/root Version: 1.7.4p6-1ubuntu2 on Ubuntu 11.10 What happens: sudo(8) contains "By default, sudo will set HOME if env_reset or always_set_home are set" and "Set to the home directory of the target user if -i or -H are specified, env_reset or always_set_home are set in sudoers" What I expect to happen: sudo(8) should not claim that HOME is set if env_reset is set. I believe sudo(8) should not claim this because sudo does /not/ set HOME if env_reset is set, which is the expected behaviour according to https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/760140 . This behaviour is what happens when env_reset is set (I have attached my /etc/sudoers, which is the default Ubuntu /etc/sudoers): $ sudo env | grep HOME HOME=/home/tom $ sudo -H env | grep HOME HOME=/root
2011-11-13 21:03:50 Hans Joachim Desserud tags manpage
2014-09-24 16:06:16 Launchpad Janitor sudo (Ubuntu): status New Confirmed
2016-06-01 14:29:07 Rolf Leggewie tags manpage manpage trusty
2019-02-11 14:41:16 Simon May bug added subscriber Simon May
2019-04-05 20:40:22 C de-Avillez bug added subscriber C de-Avillez
2019-06-19 21:16:02 Dan Streetman marked as duplicate 1556302