Summary
A root user can do anything but normal user has no permissions. To run any command, they need to ask for permissions from the superuser. The easy and common way to grant administrative privileges to non-root users is, a user can use su command and temporarily become the root but users must know the root’s password.
Run commands as root with sudo - GeeksforGeeks
geeksforgeeks.org
Summary
The sudo command allows you to run programs as another user, by default the root user.
If the user is granted with sudo assess, the su command is invoked as root. Running sudo su - and then typing the user password has the same effect the same as running su - and typing the root password.
Su Command in Linux (Switch User) | Linuxize
linuxize.com
Instructions and steps for logging in to a Linux system as the root user. ... A single careless or malformed command, run as root, can make the entire ...
How to Become Root in Linux
computerhope.com
Linux - Switching user using sudo. ... When you execute the sudo command, you are prompted for your password. If the sudo configuration permits access, that ...
Linux - Switching user using sudo
researchhubs.com
The root user in GNU/Linux is the user which has administrative access to your system. Normal users do not have this access for security reasons. However, ...
Root And Sudo
ubuntu.com