Well, you should be able to work around the problem by turning off the password timeout. When building sudo, specify the --with-password-timeout=0 flag to configure. On newer versions of sudo you can set this at run time by putting the following in your sudoers file. defaults passwd_timeout=0 - todd