apptainer capability add

Add capabilities to a user or group (requires root)

Synopsis

Add Linux capabilities to a user or group. NOTE: This command requires root to run.

The capabilities argument must be separated by commas and is not case sensitive.

To see available capabilities, type “apptainer capability avail” or refer to capabilities manual “man 7 capabilities”.

apptainer capability add [add options...] <capabilities>

Examples

$ sudo apptainer capability add --user nobody AUDIT_READ,chown
$ sudo apptainer capability add --group nobody cap_audit_write

To add all capabilities to a user:

$ sudo apptainer capability add --user nobody all

Options

-g, --group string   manage capabilities for a group
-h, --help           help for add
-u, --user string    manage capabilities for a user

SEE ALSO

Auto generated by spf13/cobra on 22-Nov-2023