From the course: Linux Tips

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

System basics: sudo access and root

System basics: sudo access and root - Linux Tutorial

From the course: Linux Tips

System basics: sudo access and root

- On every Linux system, there's a superuser account called Root. The superuser isn't intended to be used by a human day to day rather, it's a tool that the system uses and that humans can use in order to perform administrative tasks like installing software, changing configurations and so on. On every system, Root has the user id of zero and is the only user created during default installation. Many installers will also prompt you to create a human or regular user during the setup process however. While other user accounts have restrictions on them, Root does not. Root can read any file in the system, regardless of permissions and can make changes to the operation of the system. It's also the only user that can login when the system is in emergency or rescue mode. While we can login to the Root user directly, it's not a best practice. So instead, we can delegate the authority of the superuser to other users, for them to use temporarily when needed. This is done with a program called…

Contents