tianon/gosu
View on GitHub ↗ ★ 5,019 Shell
Simple Go-based setuid+setgid+setgroups+exec
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2023-05-26 · latest 2026-10-23
20082026
-
…>&2 "error: unsupported architecture: '$arch'"; exit 1 ; esac curl -fL -o /usr/local/bin/gosu.asc "https://github.com/tianon/gosu/releases/download/$GOSU_VERSION/gosu-$gosuArch.asc" curl -fL -o /usr/local/bin/gosu…
comment by justsomehnguy · 2026-10-23 · in Docker is weird -
…- https://github.com/coventry/sandbox-codex - https://github.com/osks/ctenv - https://github.com/tianon/gosu - https://github.com/colony-2/shai - https://github.com/rcarmo/agentbox - https://github.com/coder/httpjail - https://github.co
comment by jpeeler · 2026-02-21 · in macOS's Little-Known Command-Line Sandboxing Tool (2025) -
…in Docker containers. It's good to have some explanation as to why su is unsuitable for this. [1] https://github.com/tianon/gosu
comment by justin_oaks · 2023-05-26 · in Don't abuse su for dropping user privileges (2015)