The problem you have is with sudo, not with your shell. What happens is that in the configuration file (/etc/sudoers) the env_reset option is set, which causes most of the environment variables to be deleted. This option comes enabled by default because of some conflictive variables: http://lists.grok.org.uk/pipermail/full-disclosure/2006-January/041632.html The fix I suggest is adding a env_keep directive in the env_keep line: Defaults env_reset, env_keep = DISPLAY
-- Felipe Sateler -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]