всички настройки
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Източник: gosu  ]

Пакет: gosu (1.14-1 и други)

Връзки за gosu

Screenshot

Ресурси за Debian:

Изтегляне на пакет-източник gosu.

Отговорници:

Външни препратки:

Подобни пакети:

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.

Изтегляне на gosu

Изтегляне за всички налични архитектури
Архитектура Версия Големина на пакета Големина след инсталиране Файлове
amd64 1.14-1+b10 748,3 кБ2 185,0 кБ [списък на файловете]
arm64 1.14-1+b10 647,3 кБ2 225,0 кБ [списък на файловете]
armel 1.14-1+b10 674,8 кБ2 204,0 кБ [списък на файловете]
armhf 1.14-1+b10 668,2 кБ2 140,0 кБ [списък на файловете]
i386 1.14-1+b10 734,6 кБ2 091,0 кБ [списък на файловете]
mips64el 1.14-1+b10 611,4 кБ2 499,0 кБ [списък на файловете]
mipsel 1.14-1+b10 622,3 кБ2 408,0 кБ [списък на файловете]
ppc64el 1.14-1+b10 639,6 кБ2 161,0 кБ [списък на файловете]
s390x 1.14-1+b10 682,5 кБ2 353,0 кБ [списък на файловете]