DEV Community

Discussion on: Why Not to Use Root User?

Collapse
 
mspondee profile image
Molossus Spondee

Hard disagree. sudo isn't a proper security mechanism.

Collapse
 
merkrynis profile image
Julien Bouvet

That's not the point here ^^
If you have some privileges for a good reason (let's say you are netw admin or whatever), and you need to use them use sudo instead of being always root.
This way it limits error that you can do while being root.
It's a very simple limitation of course, it's just a bit better ^^ It can't protect you from yourself :p