Linux.com: Delegating Limited Superuser Access with Sudo | Linux Today

Linux.com: Delegating Limited Superuser Access with Sudo

Written By
Web Webster
Web Webster
Jun 30, 2000

“As your network grows, so will your range of responsibilities.
At some stage, a system administrator may want to delegate limited
responsibilities to other users. Sudo is a special package for
this purpose. Instead of giving your root password to other users
or changing numerous programs as set uid root (to run as the root
user), you can use sudo (which stands for “superuser do”) to allow
them to run certain commands as the super user (or as another
user).
Sudo allows you to strictly limit which users can
invoke it and what command they can execute.”

“All the settings for sudo have to be specified in the file
/etc/sudoers. Users enter sudo mode by issuing this command:
$sudo [command]”

“Sudo then demands a password and it checks the configuration
file (/etc/sudoers) to make sure you have “sudo” permission to run
that command on that particular machine. If the user provides the
correct password and has access to execute that command, then the
command will be executed. Otherwise, sudo logs the access attempt.
Once you are authenticated by sudo, you can use execute multiple
commands without being prompted for your password again. This
“ticket” will expire five minutes after the last time you use the
sudo command.”

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.