Creating/home on Linux security independent partitions is a safer method.

Source: Internet
Author: User

Linux security is a commonly used software for computer gamers. Then I will study and study Linux security in depth. Here I will discuss with you how to use Linux security, hoping to help you. Many media and experts believe that Linux is more secure than Windows.

However, in today's more important aspects of Linux security, such Linux security needs to be correctly configured by users. Such Linux security does not have to be implemented through some specialized security software or technology. Sometimes, the best way to ensure Linux security is the one that is most easily forgotten.

Whether you are a Linux Security Starter or a skilled user or administrator, checking the nine measures mentioned below can help you enhance the Linux security of the Linux Desktop.

It is important to lock the screen and log out.

Many users may have forgotten that Linux Secure Desktop is a multi-user environment. Because of this, another user can log on after a user logs out of the desktop. This not only means that others can use your screen, but also means that users should log out in time after completing their work.

Of course, logout is not the only choice. If you are the only user of the system, you can also lock the screen. Locking the screen means entering a password when the user enters the desktop again. The difference between it and logout is that when the screen is locked, the application is still running after the user leaves the computer. After entering the desktop, you can continue the original work.

Hide files and folders

In Linux security systems, files and folders are hidden by using. For example, as shown in, two files exist in the testfilefolder folder. You can run the ls command to view the files. But after you run the command mvadsl-stop.adsl-stop, you can only see one file with ls. This indicates that you can use music videos to hide files that are not expected to be viewed by other users. Of course, you can use the ls-a command to view all files, whether or not they are hidden.

Have a good password

Linux security users' passwords are as important as the keys at the gate. If a user gives the key to many people, what should he do with the lock? Of course, it is better to make the key easily, that is, it is better not to guess the user's password.

If you are using Ubuntu and other release versions, this password may give users more access. In any case, the user's password must be strong. If you are not sure whether your password is suitable, you can use the AutomatedPasswordGenerator software to create a safe and random password for you.

Do not install file sharing applications

Many users share some files. If you want to run this function, you should know the risks. Especially if you use this function in the workplace, it will not only share your own files, but also involve other users of the company, and the entire desktop is handed over to other illegal users. Therefore, do not install the file sharing tool for security reasons.

Regular upgrade

Users who have used Windows have been "impressed" by Microsoft's regular release of Operating System and Application patches. However, Microsoft's patch release speed is far slower than that of Linux's security solution. In the Linux security world, patches can be released within hours or minutes after a security vulnerability is discovered. Both KDE and Gnome support Panel update programs. Some people think that frequent updates are too troublesome, but it is recommended that you do not reject Security Updates. These updates must be released for some reason.

Install anti-virus

Do not think that the possibility of system problems caused by viruses is minimal. I suggest you use a robust Virus defense tool, such as ClamAV, so that you can ensure that emails sent from your machine do not contain bad code or affect other systems on the company's network.

SELinux security is worth a try

SELinux security can well lock access control for applications, although some people think SELinux security is not satisfactory, such as it may affect system performance, however, you may find other applications for installation. However, based on my experience, SELinux security brings far more security benefits than its negative impact. During the installation of Fedora, you will have the opportunity to enable SELinux security.

Creating/home on an independent partition is a safer method.

By default, the/home directory is placed in the root directory of the system for Linux security installation. This may be a good method, but you need to note that because this is a standard installation method, anyone who can access your system will clearly know where the data is. Moreover, if your machine has some problems, how can your data be safe?

The solution to this problem is that you should place/home on a completely different hard disk or partition. This may not be a good solution, but if you really care about the Linux security of data, try it.

Terminate or disable unnecessary services

You use a desktop machine instead of a server. Therefore, it is unnecessary to run nfs, httpd, ftpd, sshd, and other services. It can be said that ordinary users should not run these services at all, they can only bring risks to ordinary users. Therefore, do not run these services.

For example, the method to terminate the NFS service is #/etc/init. d/nfsstop. You can check the/etc/inetd. conf file to see if all unnecessary services have been canceled. This method is simple but effective. Try it.

  1. Of course, it focuses on Linux security.
  2. Windows and Linux security
  3. Windows and Linux security capabilities
  4. Linux Security Settings
  5. Six-Point Linux Security Method Application

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.