[sudo-users] sudo -i does not run root's .profile when issued

Todd C. Miller Todd.Miller at courtesan.com
Wed Nov 10 09:04:09 EST 2010

Have you added HOME to the list of environment variables to preserve
in the env_keep list?  If so, that may be overriding the default
behavior of "sudo -i".  This is arguably a bug.

As long as HOME is not in env_keep I get the expected behavior of
"sudo -i" in 1.7.4p4.

 - todd

More information about the sudo-users mailing list