Linux "capsh" Command Line Options and Examples
capability shell wrapper

Linux capability support and use can be explored and constrained with this tool. This tool provides a handy wrapper for certain types of capability testing and environment creation. It also provides some debugging features useful for summarizing capability state.


capsh [OPTION]...

Command Line Options:

Display prevailing capability and related state.
capsh --print ...
Force all uid values to equal id using the setuid(2) system call.
capsh --uid ...
Force all gid values to equal id using the setgid(2) system call.
capsh --gid ...
XXX - need to document this feature.
capsh --secbits ...