wszystkie opcje
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Pakiet źródłowy: gosu  ]

Pakiet: gosu (1.12-1 i inne)

Odnośniki dla gosu

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego gosu:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

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.

Inne pakiety związane z gosu

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie gosu

Pobierz dla wszystkich dostępnych architektur
Architektura Wersja Rozmiar pakietu Rozmiar po instalacji Pliki
amd64 1.12-1+b6 725,6 KiB2 273,0 KiB [lista plików]
arm64 1.12-1+b6 622,5 KiB2 217,0 KiB [lista plików]
armel 1.12-1+b6 634,3 KiB2 002,0 KiB [lista plików]
armhf 1.12-1+b6 630,5 KiB2 002,0 KiB [lista plików]
i386 1.12-1+b6 693,8 KiB1 946,0 KiB [lista plików]
mips64el 1.12-1+b6 589,2 KiB2 393,0 KiB [lista plików]
mipsel 1.12-1+b6 592,7 KiB2 183,0 KiB [lista plików]
ppc64el 1.12-1+b6 611,8 KiB2 218,0 KiB [lista plików]
s390x 1.12-1+b6 658,8 KiB2 345,0 KiB [lista plików]