Is the root user needed?

I am using Almalinux on a notebook and am wondering what the purpose of the root account is, when the “common” user can be set to be the administrator?

Can someone clarify the following for me:

Is it necessary to setup root (there is a checkbox that allows to block it) if the newly created normal user is set to be the administrator (using sudo) as in other distributions.

Technically, the ‘sudo’ allows one to run a command as another account. The default “another account” is the ‘root’. Therefore, the root account must exist. However, nobody needs to be able to directly login as root account (as long as someone can do admin operations as root – via sudo).

1 Like