I don't know enough about Linux and how to configure the sudo command to solve this 'the right way' so I would be grateful for any pointers to the correct settings. I found on investigation that the reason my environment variables were not being passed was the default env_reset option in the /etc/sudoers file. I am using a clean install of Hardy for this exercise, so I would have imagined that this problem would exist for everyone else following the wiki. The only difference being my use of root in testing the installation.
I have altered my /etc/sudoers file so that the env_reset option is now !env_reset, and this solves the problem, but probably leaves a bigger security hole than I need. Any guidance on how to solve this correctly will be much appreciated!