SYNOPSIS

dropto USER PROG [ARG …]

DESCRIPTION

Runs PROG with ARGS as USER. Unlike setuidgid(8) from daemontools, the resulting process is a member of USER's supplementary groups.

EXIT CODES

dropto will exit 100 if there was a usage error. It will exit 111 if it encounters any other error.

If dropto manages to exec PROG, the exit status of the process will be the exit status of PROG. Note that PROG may also exit with code 100 or 111, so inspection of the process's return code is not sufficient to tell whether any error occurred in dropto or in PROG.

EXAMPLES

# dropto nobody id

SEE ALSO

setuidgid(8) from daemontools.

Author

Tom Jones <tom.jones@oucs.ox.ac.uk>