套件:gosu(1.17-1 以及其他的)
gosu 的相關連結
Debian 的資源:
下載原始碼套件 gosu:
維護小組:
- pkg-go (QA 頁面, 郵件存檔)
- Tianon Gravi (QA 頁面)
外部的資源:
- 主頁 [github.com]
相似套件:
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.17-1 | 808。1 kB | 2,367。0 kB | [檔案列表] |
arm64 | 1.17-1 | 700。7 kB | 2,371。0 kB | [檔案列表] |
armel | 1.17-1 | 719。4 kB | 2,358。0 kB | [檔案列表] |
armhf | 1.17-1 | 713。1 kB | 2,358。0 kB | [檔案列表] |
i386 | 1.17-1 | 779。9 kB | 2,279。0 kB | [檔案列表] |
mips64el | 1.17-1 | 655。9 kB | 2,708。0 kB | [檔案列表] |
ppc64 (非官方移植版) | 1.17-1 | 683。8 kB | 2,435。0 kB | [檔案列表] |
ppc64el | 1.17-1 | 697。7 kB | 2,435。0 kB | [檔案列表] |
riscv64 | 1.17-1+b1 | 730。1 kB | 2,436。0 kB | [檔案列表] |
s390x | 1.17-1 | 738。6 kB | 2,563。0 kB | [檔案列表] |