--addamb xxx | Adds the specified ambient capability to the running process. | help + man |
--cap-uid n | use the cap_setuid(3) function to set the UID of the current process. | help + man |
--caps xxx | Set the prevailing process capabilities to those specified by cap-set. | help + man |
--chroot path | Execute the chroot(2) system call with the new root-directory (/) equal to path. | help + man |
--current | Display prevailing capability state, 1e capabilities and IAB vector. | help + man |
--decode xxx | decode a hex string to a list of caps | help + man |
--delamb xxx | Removes the specified ambient capability from the running process. | help + man |
--drop xxx | Remove the listed capabilities from the prevailing bounding set. | help + man |
--explain xxx | Give a brief textual description of what privileges the specified capability makes available to a running program. | help + man |
--forkfor n | This command causes the program to fork a child process for so many seconds. | help + man |
--gid n | Force all GID values to equal id using the setgid(2) system call. | help + man |
--has-a xxx | Exit with status 1 unless the ambient vector has capability xxx raised. | help + man |
--has-b xxx | Exit with status 1 unless the bounding vector has capability xxx in its (default) non-blocked state. | help + man |
--has-ambient | Performs a check to see if the running kernel supports ambient capabilities. | help + man |
--has-i xxx | exit 1 if capability xxx not inheritable | help |
--has-p xxx | Exit with status 1 unless the permitted vector has capability xxx raised. | help + man |
--has-no-new-privs | exit 1 if privs not limited | help |
--help, -h | Display the list of commands supported by capsh. | help + man |
--iab ... | Attempts to set the IAB tuple of inheritable capability vectors. | help + man |
--inh xxx | Set the inheritable set of capabilities for the current process to equal those provided in the comma separated list. | help + man |
--is-uid n | Exit with status 1 unless the current UID equals <id>. | help + man |
--is-gid n | Exit with status 1 unless the current GIQ equals <id>. | help + man |
--keep n | In a non-pure capability mode, the kernel provides liberal privilege to the super-user. | help + man |
--killit n | This commands causes a --forkfor child to be kill(2)d with the specified signal. | help + man |
--license | display license info | help |
--mode | Display the prevailing libcap mode as guessed by the cap_get_mode(3) function. | help + man |
--modes | Lists all of the libcap modes supported by --mode=<mode>. | help + man |
--noamb | Drops all ambient capabilities from the running process. | help + man |
--noenv | Suppresses overriding of the HOME and USER environment variables when a subsequent --user argument is processed. | help + man |
--print | Display prevailing capability and related state. | help + man |
--quiet | This argument is ignored unless it is the first one. | help + man |
--secbits n | Set the security-bits for the program. | help + man |
--strict | This option toggles the suppression of subsequent attempts to fixup --caps= and --inh= arguments. | help + man |
--uid n | Force all UID values to equal id using the setuid(2) system call. | help + man |
--user name | set uid,gid and groups to that of user | help + man |
--inmode mode | Confirm that the prevailing mode is that specified in <mode>, or exit with a status 1. (in the manual page but not in --help) | man |
--groups gid-list | Set the supplementary groups to the numerical list provided. (in the manual page but not in --help) | man |
--shell /full/path | This option changes the shell that is invoked when the argument == is encountered. (in the manual page but not in --help) | man |
--suggest phrase | Scan each of the textual descriptions of capabilities, known to capsh, and display all descriptions that include phrase. (in the manual page but not in --help) | man |
--supports xxx | As the kernel evolves, more capabilities are added. (in the manual page but not in --help) | man |