Hackerspot

Hackerspot

Linux Capabilities

How Linux splits root into smaller privileges, and how to give a process only what it needs

Chady's avatar
Chady
Nov 01, 2024
∙ Paid

In this post, I want to explain Linux capabilities. Normally root can do everything and a normal user can do very little. With capabilities, the kernel splits root into smaller parts, so a process can get one part without getting all of them.

So, instead of “root or not root”, the kernel has about 40 separate privileges. For example, CAP_NET_BIND_SERVICE…

User's avatar

Continue reading this post for free, courtesy of Hackerspot Team.

Or purchase a paid subscription.
© 2026 Hackerspot · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for writing, podcasting, and media founders.