Comment 5 for bug 1823202

Ryan K. McKee (ryan-k-mckee) wrote :

[16:51:24] <slacker_nl> that patch that they added in ... 1.7.4p4-5ubuntu6 breaks the default sudo compared to upstream (both sudo and debian)
[16:52:36] <slacker_nl> you can reference to

Basically I resolved my sudo -s issue by
creating a new file: /etc/sudoers.d/01_env_keep
with the following contents:

Defaults env_keep -= "HOME"

and then chmod 440 /etc/sudoers.d/01_env_keep

and then confirming with sudo sudo -V