suid-wrapper

Thiago Romão Barcala (thiago-barcala) Publisher
  • Thiago Romão Barcala (thiago-barcala) Publisher
  • Development

Install latest/stable of suid-wrapper

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.


Install using the command line

sudo snap install suid-wrapper

Don't have snapd? Get set up for snaps.

Channel Version Published

Utility to create executable binaries to be used with the SUID flag

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.

Developer website

Details for suid-wrapper

License
MIT
Last updated
19 December 2021

Share this snap

Generate an embeddable card to be shared on external websites.


Related blog posts


Where people are using suid-wrapper


Install suid-wrapper on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.


Is there a problem with suid-wrapper? Report this app