všetky možnosti
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Zdroj: gosu  ]

Balík: gosu (1.12-1 a iné)

Odkazy pre gosu

Screenshot

Zdroje Debian:

Stiahnuť zdrojový balík gosu:

Správcovia:

Externé zdroje:

Podobné balíky:

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.

Ostatné balíky súvisiace s balíkom gosu

  • závisí
  • odporúča
  • navrhuje
  • vylepšuje

Stiahnuť gosu

Stiahnuť pre všetky dostupné architektúry
Architektúra Verzia Veľkosť balíka Nainštalovaná veľkosť Súbory
amd64 1.12-1+b6 725.6 kB2,273.0 kB [zoznam súborov]
arm64 1.12-1+b6 622.5 kB2,217.0 kB [zoznam súborov]
armel 1.12-1+b6 634.3 kB2,002.0 kB [zoznam súborov]
armhf 1.12-1+b6 630.5 kB2,002.0 kB [zoznam súborov]
i386 1.12-1+b6 693.8 kB1,946.0 kB [zoznam súborov]
mips64el 1.12-1+b6 589.2 kB2,393.0 kB [zoznam súborov]
mipsel 1.12-1+b6 592.7 kB2,183.0 kB [zoznam súborov]
ppc64el 1.12-1+b6 611.8 kB2,218.0 kB [zoznam súborov]
s390x 1.12-1+b6 658.8 kB2,345.0 kB [zoznam súborov]