the sudoers lookup happens for root and not the SUDO_USER user.
user is. This can be used by a user to log commands through sudo
even when a root shell has been invoked. It also allows the B<-e>
flag to remain useful even when being run via a sudo-run script or
-program.
+program. Note however, that the sudoers lookup is still done for
+root, not the user specified by C<SUDO_USER>.
B<sudo> can log both successful and unsuccessful attempts (as well
as errors) to syslog(3), a log file, or both. By default B<sudo>