Language Selection

English French German Italian Portuguese Spanish

The Perils of Sudo With User Passwords

Filed under
Security

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.

Why is there a separate root account anyway?




More in Tux Machines

Linux 4.17 RC6

  • Linux 4.17-rc6
    Things continue to be fairly calm. There's a couple of commits in here that aren't "trivial few-liners", but most of it really is pretty small. And in fact, a quarter of the full patch for the week is tooling - and the bulk of that is the testing subdirectory. In fact, drivers are in the minority here, because another 30% is arch updates (arm, s390, x86), and we even have more lines of filesystem fixes than we have driver fixes (admittedly mostly due to a few of the more-than-a-few-liner patches being to filesystems: afs and btrfs). We do have a few driver fixes (all over - hwmon, usb, sound, acpi, gpu), but it's all really small. So nothing special to report. Go read the shortlog, pull the changes, build, and test. It should all be good and pretty stable by this point. Linus
  • Linux 4.17-rc6 Kernel Released As Another "Fairly Calm" Release
    Linux 4.17 is up to its sixth weekly release candidate ahead of the official release expected by mid-June.

KDE Plasma 5.13 Looks Like an Awesome Update

The KDE Plasma 5.13 release is shaping up to be something rather special indeed. Currently in development, KDE Plasma 5.13 serves as the next major release of the leading Qt/Qml desktop environment. The update features a stack of improvements, refinements and some innovative new functionality. In this post we roundup the best KDE Plasma 5.13 features and changes, plus give you all the details on how to upgrade to Plasma 5.13 in Kubuntu and KDE Neon once it is released on June 12, 2018. Read more Also: First week of coding phase, GSoC'18

Today in Techrights

Introduction To VPS Or Virtual Private Server

VPS or Virtual Private Server is a virtual machine that’s hosted somewhere in the world. A VPS provider divides a physical computer into multiple virtual computers and one can buy and access those virtual machines as a service. Each virtual machine runs its own operating system so you can perform […] Read
more