apptainer(1)
π
apptainer-capability-drop β the apptainer(1) glow-up
okay so bestie, welcome to the apptainer manual β specifically the apptainer-capability-drop page. this one's giving "root-only power move" energy and honestly? iconic. let's get into it π
β¨ NAME β¨
apptainer-capability-drop β remove capabilities from a user or group (requires root)
like, you're literally taking away someone's superpowers. very main character. root required tho, no cap.
π¦ SYNOPSIS π¦
apptainer capability drop [drop options...]
that's the whole vibe. short, sweet, slays.
πΈ DESCRIPTION πΈ
okay so here's the tea β β this command removes Linux capabilities from a user/group.
β οΈ NOTE: this command requires root to run. like, actual root. no shortcuts, no "but my friend saidβ". root. periodt.
the capabilities argument must be separated by commas and is not case sensitive (so AUDIT_READ and audit_read are the same thing, we love a flexible queen π
).
wanna see what capabilities even exist before you start dropping them? type apptainer capability avail or refer to the capabilities manual: man 7 capabilities. iykyk π§
π OPTIONS π
-g,--group=""β manage capabilities for a group-h,--help[=false]β help for drop (the "wait what does this do again" button π«Ά)-u,--user=""β manage capabilities for a user
notice the empty-string defaults on --group and --user? yeah, you gotta actually give them a value. no vibes-only input allowed π
β EXAMPLE β
here's how the cool kids do it:
$ sudo apptainer capability drop --user nobody AUDIT_READ,CHOWN
$ sudo apptainer capability drop --group nobody audit_write
see that comma in the first one? that's the whole "separated by commas" thing in action. and notice audit_write is lowercase in the second one β case insensitive, we been knew π
to drop all the capabilities for a user:
$ sudo apptainer capability drop --user nobody all
the all keyword. total removal. absolutely feral. ππ₯
π SEE ALSO π
apptainer-capability(1)β the parent page, go say hi to it π«Ά
π HISTORY π
22-Oct-2026 β auto generated by spf13/cobra
okay that's the whole page bestie, you're officially certified in capability-dropping π β¨
auto generated by spf13/cobra β Oct 2026 β apptainer(1) π¦
now go forth and sudo responsibly, mwah π
π¦ where this page comes from
- epel 9: apptainer 1.5.5-1.el9 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND BSD-3-Clause-LBNL AND ISC AND MIT AND MPL-2.0 AND Unlicense
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms