OS Manuals

/usr/bin/gosu

Simple Go-based setuid+setgid+setgroups+exec

From gosu-1.11 1.11-r20 (enterprise-packages), captured 2026-11-08 by running gosu --help (exit 0). permalink

Usage: gosu user-spec command [args]
   eg: gosu tianon bash
       gosu nobody:root bash -c 'whoami && id'
       gosu 1000:1 id

gosu version: 1.11 (go1.25.12 on linux/amd64; gc)
gosu license: GPL-3 (full text at https://github.com/tianon/gosu)

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.