Hi there,

Win10 is soon not supported. Tbh Linux have been on my radar since I started to break from the US big tech.

But how is security handled in Linux? Linux is pretty open-source, or am I not understanding it correctly. So how can I as a new user make sure to have the most secure machine as possible?

  • the16bitgamer@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    19 days ago

    From a windows perspective Linux does 2 things differently which makes it more secure to Windows.

    1. Like MacOS it doesn’t need antivirus software like Norton. Windows needs antivirus because DOS the OS windows is based on, had it where any program had access to anything. This is still sadly true even on Windows 11. Linux is Sandboxed, where instead of giving the program full access to everything, you just give it a sandbox with what it needs.

    Unless you deliberately run a program as the admin of Linux (su or sudo), malicious code can just delete system32.

    1. Linux’s is open source and while the desktop market share is tiny, there are a massive market in servers. As a result since there are a lot of eyes on the project if/when problems are found they are fixed quickly. I remember a time when a malicious actor was trying to add a backdoor into a library as a blob and it was caught.

    Windows on the other hand is closed source, meaning if MS can’t find the issue, the only time it is found is when it’s in the field. To avoid downtime MS offers bug bounty programs for those who can find issues, rather than to let them exploit it.

    • Eggymatrix@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      19 days ago

      I don’t know where you got your information from, but your mental model on how and why things work the way they do in both linux and windows seems to be really off.

      Since you seem someone that is actually interested in understanding this stuff, I strongly suggest to find some better sources as your base

    • ramenu@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      19 days ago

      Windows isn’t based on DOS, though. It hasn’t been for a very long time. Linux isn’t sandboxed. Userspace applications can be sandboxed. There’s a difference.

      • the16bitgamer@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        19 days ago

        Yes modern Windows is based on the NT Kernal. However to keep with compatibility with older programs, NT needs to be compatible with DOS. For most people they never saw the transition from DOS to NT, since it was quietly done with Win XP.