This executable can run non-interactive system commands.
The command execution is displayed on the virtual console.
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
sudo
If there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
sudo VAR=value ...
sudo -E ...
openvt -- /path/to/command
The commands are executed but their output is hidden from the attacker.
Source | History