Linux.com: Linux Capabilities | Linux Today

Linux.com: Linux Capabilities

Written By
Web Webster
Web Webster
Oct 21, 1999

“There will be undiscovered holes in software, and we want to
minimize the impact a breach in a daemon or service will have on
your machine. This idea of hardening your system is what this
article focuses on. Traditional unix has the root user which can do
anything, read, write, whatever. You know the drill. Obviously this
is a problem if your machine is cracked, the attacker now has
control over your machine. Let’s say, for example, your car breaks
down and you have to take it in to the local garage to have it
fixed. You would give the mechanic the keys to your car only. It
would be silly to also give the mechanic the keys to your house,
mailbox, job, or whatever else. Traditional root user exit stage
left, Linux Capabilities enter stage right.”

Linux Capabilities create the ability to give processes
specific capabilities to do only the job required and nothing more.
In other words, splitting the root power up into little
pieces.
Take a peek at /usr/include/linux/capability.h for a
list of caps. In a real capabilities only model, uid 0 is just a
normal user. There are 3 capability ‘sets’…”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.