Linux su vs sudo: what's the difference?

Posted by Scott_Ruecker on Jun 28, 2022 5:21 PM EDT
Opensource.com; By David Both
Mail this story
Print this story

Both the su and the sudo commands allow users to perform system administration tasks that are not permitted for non-privileged users—that is, everyone but the root user. Some people prefer the sudo command: For example, Seth Kenlon recently published "5 reasons to use sudo on Linux", in which he extols its many virtues. I, on the other hand, am partial to the su command and prefer it to sudo for most of the system administration work I do. In this article, I compare the two commands and explain why I prefer su over sudo but still use both.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Distributions, Fedora, Linux, Ubuntu

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.