I have root user, why I need superuser?

On initial setup automatically I already have “ROOT” user, but I read on tutorials here on Digital Ocean I need to create new superuser or user with same privilage as root. Why I have to do that if it has exactly the same privilage?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @MrWorldWideWeb

The root user is a “dangerous” user, since it can do everything on the system. So to protect yourself, it’s highly recommended to create a user that has sudo capabilities, since it will require that another step to “accidentally” doing something at the system level. It also adds another security layer.

If you’re familiar with Windows, then using root would be like running as Administrator, which is also a security concern, so on Windows it’s recommended to create a non-Administrator user and specifically run things as Administrator when needed.