Home  >  Q&A  >  body text

ubuntu - linux系统的安全性比windows好在那些方面?

求大神详细的解答下,或者谁有什么好文分享一下。

伊谢尔伦伊谢尔伦2739 days ago1122

reply all(11)I'll reply

  • PHP中文网

    PHP中文网2017-04-22 09:00:43

    In fact, it is not that Linux, or more broadly speaking nix systems, are really more secure than Windows. The reason why the nix system is "safe" is because most of its users are power users and understand what they are doing before doing anything to the system. The reason why the Windows system is "unsafe" is precisely because of its wide range of users and its inclusiveness. When you want to support almost any type of task, it can be difficult to do everything when it comes to security. Moreover, Windows does not take the experience of ordinary users into account when dealing with many problems. For example, it does not make sense to tell a child who has just learned to play games on a computer that a certain program cannot run because it lacks a certain DLL. It is easy for users to have problems when they don't understand what they are doing.

    Let’s talk about OS X alone. It is safe because of its closed source nature. For OS X, Apple has taken care of everything from hardware to system and even software, and has greatly restricted user behavior, which greatly reduces the probability of its users having security problems during use. Users who use OS X "as Windows" will find it difficult to make problems due to the limitations of the system and app ecosystem, while users who use OS X as a Unix system are less likely to make many basic mistakes.

    Googled two articles:
    OS X, iOS and Linux have more vulnerabilities than Windows.
    Is Linux Really More Secure than Windows?
    That’s not to say that the article is very comprehensive, but taking a look at the discussion below may be helpful for the subject to sort out his own doubts.

    reply
    0
  • 大家讲道理

    大家讲道理2017-04-22 09:00:43

    Linux has strict and significant user rights management:

    UGO(User Group Other): Related commands chmod chown

    ACL (Access Control List): ACL related commands setfacl getfacl
    ACL function: You can specify a permission for a certain file for a certain user.

    selinux/apparmor (mandatory access control)
    Mandatory access control function: You can specify which files the program can read, write or run, whether it can open network ports, etc.

    Under the protection of these mechanisms, Linux will indeed be more secure.

    For example, if the permissions of the /var/lib/mysql directory are
    drwx------ mysql mysql
    , then only the user named mysql or the root user can access the directory.

    In terms of software installation, Linux distributions are generally installed through package management tools such as apt-get or yum. It can be said that the software sources maintained by these distributions are obviously more secure than the software downloaded by Windows users from the Internet. The source is safer.

    Software upgrades and updates are also very convenient. For example, Ubuntu uses sudo apt-get update刷新软件列表,用sudo apt-get upgradeto upgrade software.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-22 09:00:43

    It’s not that Windows is less secure than Linux, but that Windows drivers are worse than Linux drivers on an average basis; administrators who are proficient in Windows server security and ordinary developers under Linux still have technical skills. Question
    For production servers, of course, Linux is still the first choice. It is convenient to find guides

    reply
    0
  • ringa_lee

    ringa_lee2017-04-22 09:00:43

    There is no difference between good and bad. Any system that has loopholes needs to be fixed. However, Windows has more software and programs and the probability of problems is much higher than Linux.
    So it seems that Linux is easier to control and has better security.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-22 09:00:43

    Hackers love to attack Windows more, so Windows seems to have more vulnerabilities

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-22 09:00:43

    Linux is a file system, and all operations are file-related, including IO. Linux file permissions are quite high. It is impossible to arbitrarily change files that do not belong to your own permissions. But under Windows, if the application we download is rogue, it can read the user's disk files at will, and even change them.

    reply
    0
  • PHP中文网

    PHP中文网2017-04-22 09:00:43

    In fact, the simplest reason is

    Windows users are used to clicking "Yes" and "Next"

    And linux users know when to sudo

    reply
    0
  • 怪我咯

    怪我咯2017-04-22 09:00:43

    You won’t fall into the family bucket

    reply
    0
  • 高洛峰

    高洛峰2017-04-22 09:00:43

    Let me talk about an aspect that no one has mentioned. The basic software environment such as the package manager is complete and can easily solve the dependency problems in software installation and update. Furthermore, it can minimize the installation, minimize the installation, and minimize the installation. Important things Say it three times.

    Except for the necessary software, there is no miscellaneous stuff on the server, so of course there are much less chances of problems.

    reply
    0
  • 阿神

    阿神2017-04-22 09:00:43

    Who said Linux is more secure?

    reply
    0
  • Cancelreply