This utility lets you create an executable binary, with the SUID flag set. The SUID flag makes it possible for an user to execute an executable as if they are the owner of the file. For example:

suid-wrapper -o run_docker_sh $(which docker) -- run -it --rm alpine sh --

With the command above, a file named run_docker_sh will be created. Considering that this file is owned by a user named docker, if a user named user tries to run it, because of the SUID flag, the process that will be started will have the UID set to that of docker, with the same permissions docker has.


Get it from the Snap Store

Search for another snap, or go back to the homepage.
An error has occurred. This application may no longer respond until reloaded. Reload 🗙