whatis root-user

Root User

Also known as: root, superuser, UID 0

The Linux superuser account with user ID 0, which bypasses normal permission checks and can change anything on the system.

What Is the Root User in Linux?

Root is the administrative account on every Linux system. The kernel grants it privileges based on UID 0, not the name, so root can read any file, kill any process, and bind to low-numbered ports.

Logging in as root for daily work is risky because one typo can wreck the system. Most distributions disable direct root login and have you run individual commands with sudo instead. The root user is also different from the root directory /, despite the shared name.

Example

id root
# uid=0(root) gid=0(root) groups=0(root)