Table of Contents

Name

user-wrapper - setuid wrapper

Synopsis

user-wrapper /path/to/prog [args]

Description

Run prog as a different user. The setuid bit must be set.
To avoid unnecessary library dependencies the binary was created with dietlibc (or nasm on user-wrapper and i386 arch).

Return Value

The return value is 111 if execve() failed otherwise the exit code of prog.

Examples

user-wrapper /usr/bin/id

Author

Frank Bergmann, http://www.tuxad.com


Table of Contents