Why do we need sudo?

The word sudo is an abbreviation for “superuser do” and is used to run commands as the root user. Commands that require elevated privileges like installing or updating packages or changing services can be run by an unprivileged user through this tool, allowing convenient administrative access without being permanently logged into a privileged account.

It also helps operators make an educated guess at the potential security issues and blast radius of running commands or scripts, as not running them through sudo ensures that the entire script will run with use privileges only, cut off from deeper system access.

Basic usage

The sudo command comes preinstalled on almost every linux distribution. The configuration is stored in /etc/sudoers, but you sho…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help