module CapNG::Flags

Define NO_FLAGS, DROP_SUPP_GRP, CLEAR_BOUNDING, and INIT_SUPP_GRP (if available) constants.

Constants

CLEAR_BOUNDING

Clear the bounding set regardless to the internal representation already setup prior to changing the uid/gid.

DROP_SUPP_GRP

it will have no effect.

INIT_SUPP_GRP

After changing id, initialize any supplement groups that may come with the new account. If given with Note: Ubuntu Trusty’s libcap-ng-dev doesn’t have CAPNG_INIT_SUPP_GRP constant.

NO_FLAG

Simply change uid and retain specified capabilities and that’s all.