alla flaggor
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Källkod: gosu  ]

Paket: gosu (1.17-2)

Länkar för gosu

Screenshot

Debianresurser:

Hämta källkodspaketet gosu:

Ansvariga:

Externa resurser:

Liknande paket:

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.

Hämta gosu

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
amd64 892,8 kbyte2.778,0 kbyte [filförteckning]
arm64 775,1 kbyte2.788,0 kbyte [filförteckning]
armel 789,9 kbyte2.756,0 kbyte [filförteckning]
armhf 784,1 kbyte2.757,0 kbyte [filförteckning]
i386 855,4 kbyte2.628,0 kbyte [filförteckning]
mips64el 724,5 kbyte3.176,0 kbyte [filförteckning]
ppc64 (inofficiell anpassning) 756,6 kbyte2.855,0 kbyte [filförteckning]
ppc64el 778,1 kbyte2.857,0 kbyte [filförteckning]
riscv64 788,6 kbyte2.727,0 kbyte [filförteckning]
s390x 809,3 kbyte2.983,0 kbyte [filförteckning]