openvt

Command

This executable can run non-interactive system commands.
  1. CommentThe 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.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    openvt -- /path/to/command
    OutputThe commands are executed but their output is hidden from the attacker.