This executable can spawn an interactive system shell.
This function can be performed by any unprivileged user.
less /etc/hosts
!/bin/sh
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
less /etc/hosts
!/bin/sh
This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.
less /etc/hosts
!/bin/sh
This function can be performed by any unprivileged user.
VISUAL='/bin/sh -s --' less /etc/hosts
v
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
VISUAL='/bin/sh -s --' less /etc/hosts
v
This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.
VISUAL='/bin/sh -s --' less /etc/hosts
v
This executable can write data to local files.
This function can be performed by any unprivileged user.
echo DATA | less
s/path/to/output-file
q
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
echo DATA | less
s/path/to/output-file
q
This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.
echo DATA | less
s/path/to/output-file
q
This executable can read data from local files.
This function can be performed by any unprivileged user.
less /path/to/input-file
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
less /path/to/input-file
This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.
less /path/to/input-file
This function can be performed by any unprivileged user.
less /etc/hosts
:e /path/to/input-file
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
less /etc/hosts
:e /path/to/input-file
This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.
less /etc/hosts
:e /path/to/input-file
This executable can inherit functions from another.
This function can be performed by any unprivileged user.
less /etc/hosts
v
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
less /etc/hosts
v
This function is performed by the privileged user if the executable has the SUID bit set and the right ownership because the effective privileges are not dropped.
less /etc/hosts
v