0.2.060.0 MB
MIT
strict
core22
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 rundockersh $(which docker) -- run -it --rm alpine sh --
With the command above, a rundockersh 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.
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 rundockersh $(which docker) -- run -it --rm alpine sh --
With the command above, a rundockersh 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.
Update History
0.2.0 (6)13 Dec 2025, 09:47 UTC
6 Aug 2021, 15:59 UTC
14 Jul 2023, 14:06 UTC
13 Dec 2025, 09:47 UTC