rsyslogd
Command
This executable can run non-interactive system commands.
- This function is performed by the privileged user if executed via
sudobecause the acquired privileges are not dropped.cat >/path/to/temp-file <<EOF module(load="imuxsock") :msg, contains, "somerandomstring" ^/path/to/command EOF rsyslogd -f /path/to/temp-file