This executable can spawn an interactive system shell.
This function can be performed by any unprivileged user.
pip config --editor '/bin/sh -s' edit
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
pip config --editor '/bin/sh -s' edit
This executable can inherit functions from another.
This function can be performed by any unprivileged user.
echo '...' >setup.py
pip install --break-system-packages .
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
echo '...' >setup.py
pip install --break-system-packages .