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

How to Get Over Your Fear of Failing at Linux

We’ve written plenty of articles about helping you switch over to Linux from your current operating system. However, even with all of those materials at hand, it’s sometimes still difficult to take the leap of faith and actually try it out. So, this article will be all about questions you might have about switching, and what you can do to ease yourself into the world of Linux. If you read it from start to finish, you’ll have plenty of answers and tips to succeed at Linux. Read more

Don't Fear the Penguin

It was a slow news day today for Linux but a few tidbits stood out. First up is Danny Stieben with his article persuading prospects how easy Linux really is. Read more

Alpine Linux 3.1.2 released

The Alpine Linux project is pleased to announce the immediate availability of version 3.1.2 of its Alpine Linux operating system. This is a bugfix release of the v3.1 musl based branch. This release is based on the 3.14.30 kernel which has some critical security fixes. Read more

Canonical Has Revealed The Hardware Specs Of Bq Aquarius E4.5

Recently, Canonical has revealed the hardware specifications of Bq Aquarius E4.5 running Ubuntu Touch. It comes with a 4.5-inch screen with a 960×540 resolution, 13 MPX camera, a Quad Core ARM Cortex running at 1.3 GHz, 1 GB of RAM memory, 8 GB internal memory and Mali 400 graphics. Read more