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.


Usage:

capsh [OPTION]...






Command Line Options:

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