With versions of sudo < 1.7.4 I could have local users that used both "sudo -s" to preserve their home directory and "sudo -i" to get root's environment. With sudo >= 1.7.4 (1.7.4p3 currently) I'm having a hard time coming up with the proper options to set to gain that functionality back. If I set "Defaults env_keep += HOME" then "sudo -s" works, but "sudo -i" doesn't (it doesn't get root's home directory). Upstream provided a patch here: http://www.sudo.ws/pipermail/sudo-users/2010-September/004479.html Reproducible: Always Steps to Reproduce:
I'm sincerely afraid this will have to wait for 1.7.5.