s6
Software
www.skarnet.org
The s6-setuidgid program
s6-setuidgid executes a program as another user.
Interface
s6-setuidgid account prog...
- s6-setuidgid looks account up by name in the account database.
- If account is unknown, it exits 1.
- It sets its (real and effective) uid and gid to those of account.
- Then it executes into prog....
Notes
s6-setuidgid can only be run as root. Its main use is to drop root privileges before
starting a daemon.