The Perils of Sudo With User Passwords | Linux Today

The Perils of Sudo With User Passwords

Written By
Web Webster
Web Webster
Feb 27, 2010

“The consensus among new Unix and Linux users seems to be that
sudo is more secure than using the root account, because it
requires you type your password to perform potentially harmful
actions. In reality, a compromised user account, which is no big
deal normally, is instantly root in most setups. This sudo thinking
is flawed, but sudo is actually useful for what’s it was
designed for.

“The (wrong) idea is that you shouldn’t use the root
account, because apparently it’s too “dangerous.”
This argument usually comes from new Linux users and people that
call themselves “network administrators,” but has no
basis in reality. We’ll come back to that in a moment.

“The concept behind sudo is to give non-root users access to
perform specific tasks without giving away the root password. It
can also be used to log activity, if desired. Role-based access
control isn’t available in Linux, so sudo is a great
alternative, if used properly.”


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.