Several security precautions for Linux systems

  

Linux is also an operating system. If you connect a Linux system to the network, it will inevitably be harassed by network viruses. Therefore, we must make necessary measures for Linux system security. This article gives several key points. The safety tips.

1. Pay close attention to the key ring

After logging in to the computer and requesting a link to the network, you must enter your key ring password. Use this feature to encrypt passwords transmitted over the network to prevent leaks.

2. Force user passwords to be updated

When you are running a multi-user environment, you should ensure that each user frequently updates their passwords. In order to achieve this, you need to use the chage command. Using the sudo chage -l username (where the username refers to the name of the user you wish to check) command, you can see if the user's password has expired. To do this, you can type the command sudo chage -E EXPLICIT_EXPIRATION_DATE -m MINIMUM_AGE -M MAXIMUM_AGE -I INACTIVITY_PERIOD -W DAYS_BEFORE_EXPIRATION.

3, open the security enhancement Linux subsystem

Linux subsystem provides a mechanism to control application access, disable the security enhancement Linux subsystem, this will only lead to more serious The problem arises. It also causes the application to not function properly, so we should adjust the security enhancements of the Linux subsystem to meet the needs. If you don't want to operate from the command line, you can choose a graphical interface tool called polgengui.

4. Do not log in as root

If we need to manage the system, log in as a normal user and use the su command, which is more reasonable than using the sudo command by the root user. When you log in as the root user, you can access systems and subsystems that you would normally not access when you log in as a normal user, but it poses a major security hazard. So the best option is to log in with a frequently used account.

5, timely security updates

The use of the Linux operating system means that a small range of updates are often performed. Ignoring these updates without properly installing the security patches into the system can be catastrophic. as a result of. Because some of these updates are actually security patches, they need to be enabled immediately. If you are using a simplified graphical user interface, make sure you have set up a scheduled task to check for updates, or manually check it daily or weekly. Keep the latest updates so that your system becomes more secure.



Copyright © Windows knowledge All Rights Reserved