singularity 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 “singularity capability avail” or refer to capabilities manual “man 7 capabilities”.

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

Examples

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

To add all capabilities to a user:

$ sudo singularity 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 3-Mar-2022