I've just checked in a change to sudo trunk that adds an unhooked version of getenv() which gets used when looking up SUDO_ASKPASS and DISPLAY. http://www.sudo.ws/repos/sudo/rev/04dbdccf4a14 - todd