---
title: Install suid-wrapper on Linux | Snap Store
description: Get the latest version of suid-wrapper for Linux - Utility to create
  binary executables to be used with the suid flag
url: https://snapcraft.io/suid-wrapper
---

# suid-wrapper

[Thiago Romão Barcala (thiago-barcala)](https://snapcraft.io/publisher/thiago-barcala "View all snaps from Thiago Romão Barcala (thiago-barcala)")

* [Thiago Romão Barcala (thiago-barcala)](https://snapcraft.io/publisher/thiago-barcala "View all snaps from Thiago Romão Barcala (thiago-barcala)")
* [Development](https://snapcraft.io/search?categories=development)

latest/stable 0.2.0

Install latest/stable of suid-wrapper

This channel hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

**Install using the command line**

```
sudo snap install suid-wrapper
```

Don't have snapd? [Get set up for snaps](https://snapcraft.io/docs/installing-snapd).

---

### Package name

* suid-wrapper

---

### License

* MIT

---

### Last updated

* 21 July 2023 - latest/stable

This snap hasn't been updated in a while. It might be unmaintained and have stability or security issues.

---

### Websites

* [github.com/thiagorb](https://github.com/thiagorb "https://github.com/thiagorb")

---

##### Report a Snap Store violation

* [Report this Snap](https://snapcraft.io/suid-wrapper#report-snap-modal)

---

* [Description](https://snapcraft.io/suid-wrapper#tab-description)
* [Security](https://snapcraft.io/suid-wrapper#tab-security)

#### Utility to create binary executables 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 run\_docker\_sh will be created. Consider 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.

---

## 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](https://snapcraft.io/docs/installing-snapd).

[### Arch Linux](https://snapcraft.io/install/suid-wrapper/arch)

[### CentOS](https://snapcraft.io/install/suid-wrapper/centos)

[### Debian](https://snapcraft.io/install/suid-wrapper/debian)

[### elementary OS](https://snapcraft.io/install/suid-wrapper/elementary)

[### Fedora](https://snapcraft.io/install/suid-wrapper/fedora)

[### KDE Neon](https://snapcraft.io/install/suid-wrapper/kde-neon)

[### Kubuntu](https://snapcraft.io/install/suid-wrapper/kubuntu)

[### Manjaro](https://snapcraft.io/install/suid-wrapper/manjaro)

[### Pop!\_OS](https://snapcraft.io/install/suid-wrapper/pop)

[### openSUSE](https://snapcraft.io/install/suid-wrapper/opensuse)

[### Red Hat Enterprise Linux](https://snapcraft.io/install/suid-wrapper/rhel)

[### Ubuntu](https://snapcraft.io/install/suid-wrapper/ubuntu)
