alle opties
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Bron: gosu  ]

Pakket: gosu (1.10-1 en anderen)

Verwijzigingen voor gosu

Screenshot

Debian bronnen:

Het bronpakket gosu downloaden:

Beheerders:

Externe bronnen:

Vergelijkbare pakketten:

Simple Go-based setuid+setgid+setgroups+exec

This is a simple tool grown out of the simple fact that "su" and "sudo" have very strange and often annoying TTY and signal-forwarding behavior. They're also somewhat complex to setup and use (especially in the case of "sudo"), which allows for a great deal of expressivity, but falls flat if all you need is "run this specific application as this specific user and get out of the pipeline".

The core of how "gosu" works is stolen directly from how Docker/libcontainer itself starts an application inside a container (and in fact, is using the "/etc/passwd" processing code directly from libcontainer's codebase).

Once the user/group is processed, we switch to that user, then we "exec" the specified process and "gosu" itself is no longer resident or involved in the process lifecycle at all. This avoids all the issues of signal passing and TTY, and punts them to the process invoking "gosu" and the process being invoked by "gosu", where they belong.

Andere aan gosu gerelateerde pakketten

  • depends
  • recommends
  • suggests
  • enhances

gosu downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Versie Pakketgrootte Geïnstalleerde grootte Bestanden
amd64 1.10-1+b23 511,0 kB1.626,0 kB [overzicht]
arm64 1.10-1+b23 450,3 kB1.554,0 kB [overzicht]
armhf 1.10-1+b23 451,3 kB1.391,0 kB [overzicht]
i386 1.10-1+b23 490,3 kB1.402,0 kB [overzicht]