Permissions and Process Management
Get introduced to the management of processes within the Linux environment.
Introduction to process management
The Linux operating system has hundreds if not thousands of processes running simultaneously. These can include the terminal, web servers, executed commands, and any databases that are running in the background or the foreground.
A system administrator or a pentester should be able to efficiently manage these processes. They need to understand that certain permissions have been granted to the different files and directories that form the Linux system.
In this lesson, we’ll learn about these files and directory permissions and the management of the different processes within the Linux system.
File and directory permissions
The act of granting permission to different files and folders is a critical aspect of the Linux system. It’s used in the optimization of the system because it ensures that only the required tasks are running. This involves different access levels among the different users.
The Linux system has a way of securing files and directories through the segmentation of administrators (root users) and normal users. The segmentation allows the administrators the ownership of files and the ability to secure them as well.
We’ll cover the following commands:
Commands for File and Directory Permissions
Command | Description |
| This command modifies file access rights. |
| This command temporarily grants a user to be a superuser or have administrative privileges. |
| This command temporarily grants users superuser privileges for the execution of commands. It can be used in place of the |
| This command allows for changes in file ownership within the Linux system. |
| This command enables a user to change group file ownership within the Linux system. |
File permissions
The Linux system has different file access rights depending on the creators among the system users. These rights include reading, writing, and executing files.
Using the ls -l
command in the terminal ...