Scroll to navigation

apptainer(1) apptainer(1)

NAME

apptainer-capability-add - Add capabilities to a user or group (requires root)

SYNOPSIS

apptainer capability add [add options...]

DESCRIPTION

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".

OPTIONS

-g, --group="" manage capabilities for a group

-h, --help[=false] help for add

-u, --user="" manage capabilities for a user

EXAMPLE


$ 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

SEE ALSO

apptainer-capability(1)

HISTORY

13-May-2024 Auto generated by spf13/cobra

May 2024 Auto generated by spf13/cobra