Article Title: Three Details reflect the security of Unix systems. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
The security of Unix operating systems is well known. However, if you want to say where the Unix system is secure, it is estimated that no one can say why. I can't tell everyone about the security features of Unix systems at once. Here I will only introduce three small details about the installation and Design of Unix systems. It is estimated that from these three small details, we can see the efforts of Unix engineers in terms of system security and convenience.
1. Different users have different permissions for the same command.
The Date command is a common command in Unix systems. It displays the Date and time of the system. However, different user roles have different functions. If you are a system administrator, you can use this command to change the system time. However, if the user who executes this command is a common user of the system, the command can only display the time, but cannot change the time. That is to say, by default, only the system administrator can change the system time, but the modification time and viewing time use the same command. The system automatically determines whether the current user has the right to modify the time.
This is a useful security feature in Unix systems. On the one hand, similar functions use the same command to facilitate the operation and maintenance of the system administrator. On the other hand, the system automatically reviews the command permissions, to ensure that users can only use commands to perform operations that are consistent with their own permissions. It can be seen from this that Unix systems are not only secure, but also focus on a combination of security and convenience. It will not sacrifice the convenience of management and maintenance for security.
As we all know, changing the date of the system at will may have a great negative impact on the system, which may lead to confusion in some job plans. For example, the system may have multiple processes running in the background. At this time, the system schedules the execution of these command processes based on the priority of the processes, the job plan defined by the Administrator, and so on, specify to start these jobs or processes at a specific time. In this case, if a non-administrator user is allowed to change the system time at will, the operations in the system may be messy. For example, for the sake of system security, the system administrator sets up to back up important files in the system at every day. If the average user modifies the time at noon, change the time from. At this time, the system will not back up important system files. Unfortunately, due to unexpected damage to the system hard disk or other system faults on the morning of the next day, the damaged files cannot be repaired due to the previous day's absence of normal backup. Changing the system time at will result in many unpredictable results.
Therefore, we can see from the date command that the Unix system is indeed slightly better than other operating systems in terms of security design. Different accounts with the same command have different operation functions, which makes the Unix system secure and convenient.
[1] [2] [3] Next page