Originally posted by: SystemAdmin
Hi,
Are you doing "sudo su user" or "sudo su - user", as the second form will lose all current environment variables. The keep_env works for most environmental variables; but I thought that some were deliberately stripped for security reasons. In which case you may need to run a dot file to re-add the variables to the environment.