From the sudo manpage:
SUDO_USER Set to the login of the user who invoked sudo SUDO_UID Set to the uid of the user who invoked sudo SUDO_GID Set to the gid of the user who invoked sudo
-Blake
In reply to Re: Logging script usage when executed via sudo on *nix
by blakem
in thread Logging script usage when executed via sudo on *nix
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |