toutes les options
bullseye  ] [  bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ Paquet source : gosu  ]

Paquet : gosu (1.17-3 et autres)

Liens pour gosu

Screenshot

Ressources Debian :

Télécharger le paquet source gosu :

Responsables :

Ressources externes :

Paquets similaires :

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.

Télécharger gosu

Télécharger pour toutes les architectures proposées
Architecture Version Taille du paquet Espace occupé une fois installé Fichiers
amd64 1.17-3+b4 918,1 ko2 890,0 ko [liste des fichiers]
arm64 1.17-3+b4 795,1 ko2 865,0 ko [liste des fichiers]
armel 1.17-3+b4 810,7 ko2 896,0 ko [liste des fichiers]
armhf 1.17-3+b4 805,1 ko2 833,0 ko [liste des fichiers]
i386 1.17-3+b4 876,9 ko2 740,0 ko [liste des fichiers]
loong64 (portage non officiel) 1.17-3 795,6 ko2 851,0 ko [liste des fichiers]
mips64el 1.17-3+b4 742,9 ko3 316,0 ko [liste des fichiers]
ppc64 (portage non officiel) 1.17-3 757,7 ko2 855,0 ko [liste des fichiers]
ppc64el 1.17-3+b4 798,8 ko2 997,0 ko [liste des fichiers]
riscv64 1.17-3+b4 809,4 ko2 867,0 ko [liste des fichiers]
s390x 1.17-3+b4 831,1 ko3 123,0 ko [liste des fichiers]