Security & Identity
Linux capabilities
Linux capabilities split root's power into named parts, so a workload can get one privilege without the rest. The effective set is what counts at the moment of a privileged call.
What you will be able to do
- Explain the difference between the effective and bounding capability sets.
- Decide which single capability a service needs, and drop the rest.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Security & Identity
- Runtime securityAdvanced · 4 min
Runtime security watches what a workload does after it starts, such as process starts and connections. Detection reports those events, and prevention stops them, so the…
- Seccomp filtersAdvanced · 4 min
Seccomp lets the kernel check each system call against a filter and refuse the ones a workload does not need. The filter sees call numbers and argument values, not the…
- Pod security admissionAdvanced · 4 min
Pod Security Admission applies the Pod Security Standards to a namespace through labels, and it can warn, audit or enforce. Enforce blocks new pods, so a safe rollout…
- Kubernetes network policiesAdvanced · 4 min
A NetworkPolicy selects pods and lists the traffic they may use. Once a pod is selected, only matching allow rules pass, and the rules add up across policies.
- Audit loggingAdvanced · 4 min
Kubernetes audit logs record API requests at a level set by an ordered policy file. The first matching rule decides the level, so rule order decides what gets recorded.
- Incident forensicsAdvanced · 4 min
Forensics collects evidence in order of volatility and preserves it with hashes and timestamps. Work from copies, not originals, and capture fragile state before any…