Whenever I use the sudo command, none of my environment variables appear to be preserved.
I've tried modifying the sudoers file, by removing the env_reset specification.
#Defaults env_reset
I've also tried adding the env variable that I want using env_keep.
Defaults env_keep += "DYLD_LIBRARY_PATH"
I'm using Mac Snow Leopard.
Is there something that I am missing?