Article Title: allows you to easily change the default settings in Linux. 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.
In Linux, although the default settings can meet the maximum security requirements. However, sometimes the Linux operating system may only be used for common clients. At this time, such high security is often unnecessary. Security and convenience are often in conflict. High Security may cause some trouble for users to use the Linux system. For this reason, if the system administrator wants the Linux operating system to be used as a common client, some default settings of the Linux operating system must be changed to facilitate user operations.
1. allows normal users to attach CDs.
Although the floppy disk is gradually eliminated, it is still needed in most cases. In Linux, by default, the operating system only allows the root user to mount the optical drive using the mount command. Normal users do not have this permission. If a common user executes this command to mount the optical drive, the system will prompt the "only root can do that" error message, that is, only the root user can execute this command. Obviously, this is very inconvenient. If a common user needs to use the optical drive, the system administrator must mount the drive, which wastes valuable time on the system administrator. For this reason, the enterprise system administrator may want ordinary users to have the permission to mount the optical drive.
If the system administrator wants to allow normal users to load the disc, modify the/etc/fstab setting file. The specific modification is simple. You only need to add the user project to the cdrom line. In this case, any user can load the optical drive at work.
When talking about CD loading, I also need to remind all users that when the CD is loaded as a directory, the system will not respond when you press the exit button on the CD drive, the disc does not pop up automatically. This is quite different from Windows systems. In Windows, even if you are using a CD, the CD will still pop up after you click the exit button on the CD drive. This is the embodiment of Linux operating system security. If you need to pop up the disc, you need to find the directory of the mounted disc in the system, right-click it, and select the pop-up button.
However, if the user needs to manually load the optical drive each time, it may be difficult for the user. After all, users are not experts in Linux systems. It is difficult for most users to use the mount command on the command line interface. They hope that the system can use the optical drive when it is started. Just like in Windows, they do not need to be manually loaded. By default, the optical drive is not automatically loaded when the system is started. If the system administrator wants the system to automatically load the optical drive at startup, modify the configuration file of/etc/fstab. As shown in, the last line represents the Mounting Mode of the optical drive. By default, the Linux operating system does not automatically mount the optical drive. In this case, the above parameter shows "noauto ". However, if the system administrator wants the system to automatically attach it to the optical drive, he must change noauto to auto. In this case, the optical drive will be automatically loaded the next time you start the system, instead of manually loading the optical drive every time, to facilitate your daily operations.
From the above analysis, we can see that the default settings of the Linux system are not necessarily perfect from the perspective of user convenience. The system administrator must modify the default settings based on the actual situation of the enterprise to meet the daily office requirements of employees.
[1] [2] [3] Next page