{"id":54308,"date":"2021-09-24T11:28:00","date_gmt":"2021-09-24T15:28:00","guid":{"rendered":"https:\/\/jumpcloud.com\/?p=54308"},"modified":"2024-08-15T13:12:45","modified_gmt":"2024-08-15T17:12:45","slug":"how-to-create-a-new-sudo-user-manage-sudo-access-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/jumpcloud.com\/blog\/how-to-create-a-new-sudo-user-manage-sudo-access-on-ubuntu-20-04","title":{"rendered":"How to Create a New Sudo User & Manage Sudo Access on Ubuntu 20.04"},"content":{"rendered":"\n

Jump to Tutorial<\/a><\/p>\n\n\n\n

You probably have heard of the concept \u201cIn Linux, everything is a file\u201d. This sounds somewhat puzzling since the Linux system comprises various entities and not just files. We have directories, symbolic links, processes, pipes, and sockets just to mention a few. The oversimplification simply gives a high-level overview of the Linux architecture. It implies that in a Linux system, every single entity is considered a file. These entities are represented by a file descriptor which is a unique identifier for a file or other resources such as directories, network sockets, or processes – hence the concept \u201ceverything is a file\u201d.<\/p>\n\n\n\n

This oversimplification then leads us to the concept of file permissions and directories.  By default, each file in Linux has its own permissions and directories. These permissions determine access rights or privileges that users have on the file. If you own a file or a directory, you can pretty much do anything you want with it – you can access it, edit it, rename and even delete it. <\/p>\n\n\n\n

But not all users are the same. One unique user in the Linux system is the root user. The root user is an administrative user with the highest privileges and is not bound by any permission restrictions. The user can do pretty much anything. This includes installing and uninstalling programs, accessing and modifying system files, and customizing the system. The root user can also break the system, whether intentionally or accidentally – which is why it\u2019s not recommended to log in and run the system as the root user.  It only takes one wrong command to crash the system. For this reason, it\u2019s always recommended to run commands as a sudo user.<\/p>\n\n\n\n

\n