this post was submitted on 19 Jul 2024
1130 points (96.8% liked)

linuxmemes

21222 readers
92 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] HStone32@lemmy.world 11 points 3 months ago (10 children)

    I'm actually curious to know, how is Linux inherently more secure than windows?

    [–] jabjoe 25 points 3 months ago* (last edited 3 months ago)

    Few things, in rough order:

    • Smaller = less attack surface. You can strip a Linux OS down to only what is needed.

    • Open source, so it's can be peered review. There are Unix distros like OpenBSD, that share lot of user space component options, where auditing is a big thing. The whole sunlight and oxygen stops things festering as much. As abosed to things locked in a box in another box down in a cellar.

    • Open source transparency forces corporates to be better. We can see what they are and aren't doing.

    • Diversity. The is no "Linux", it's a ecosystem of Linux distros all built and configured differently, using different components. Think of Linux as just a type of base board in a sea of Unix Lego bits. There are plenty of big deployments on BSD bases that share a lot with some Linux deployments.

    • Unix security is simplier than Windows security, so easer to not mess up.

    [–] uis@lemm.ee 13 points 3 months ago (1 children)

    In general it is. Opensource software has less bugs that proprietary. And even those bugs can be mitigated with hardening.

    [–] count_dongulus@lemmy.world 5 points 3 months ago (1 children)

    That's...a gross oversimplification. Super popular open source projects tend to have few bugs from the sheer number of contributors available to fix them, but active proprietary software has dedicated teams working fulltime every week to deal woth issues. Proprietary stuff is often way wider in scope than open source, so more surface for bugs to creep in. Scope and team size have a lot more to do with bug density than open vs closed source.

    [–] mexicancartel@lemmy.dbzer0.com 1 points 3 months ago (1 children)

    I don't know how much effort thoose proprietary software companies put into the actual software. Why is windows so shit? Why is whatsapp buggy? They try to get money with shit software with no optimisations at all.

    [–] count_dongulus@lemmy.world 1 points 3 months ago (1 children)

    How many open source projects have 50 million lines of code like Windows, or legal agreements related to backwards compatibility and version support guarantees?

    A for-profit company is going to focus on whatever generates revenue, sure. But crappy software will lose customers in a non-monopoly scenario. They're not exactly incentivized to make broken things nobody wants.

    [–] mexicancartel@lemmy.dbzer0.com 1 points 3 months ago

    They are neither incentivised to make quality of life improvements to their software. Thats why i hate most of them

    [–] Simulation6@sopuli.xyz 12 points 3 months ago

    Sort of an aside, but I am seeing Microsoft more as a hostile entity that I need to protect myself from.

    [–] catnip@lemmy.zip 10 points 3 months ago

    Its not and everyone who says it does is full of shit. The reason linux doesnt need av is that av is secretly overrated

    [–] save_the_humans@leminal.space 7 points 3 months ago

    In addition to what others have said, there's the move towards containerized applications on Linux via flatpaks, immutable distributions, and snapshots/rollbacks. There are also distributions like Debian with a delayed package release schedule for added stability and security. Its my understanding that you could have an exceptionally secure, effectively trustless, Linux system beyond what is possible on Mac or Windows.

    [–] ulterno@lemmy.kde.social 5 points 3 months ago

    If you follow the philosophy that it follows, that is, giving the least possible permission to any application, to make it work, it easily becomes much more secure than Windows.

    On the other hand, if you log into your GUI desktop as root, Bill Gates save you.

    [–] devfuuu@lemmy.world 4 points 3 months ago

    Because you can own your system and inspect and alter all of it in case it's needed.

    [–] Johanno@feddit.org 3 points 3 months ago

    It isn't.

    However security software for Linux usually doesn't operate in kernel level usually. And it doesn't brick your bios.

    That being said because of how Linux works it is much more possible to safe a bricked Linux machine than a Windows machine.

    I think this is a misconception.

    In the 90s it may have been true - windows was focused on user experience on the desktop. Pre- internet, security just wasn't relevant.

    Even in that era though, Linux was running on servers in universities et cetera managing many users.

    I guess this is where the reputation arose.

    These days I don't think either is inherently more secure than another in a general sense.

    For specific uses cases one might be more "reliable" than another just because it's used more and therefore has more people looking at it. For example, the vast majority of Web servers are in a Linux environment, but the vast majority of on premise email servers would be Windows.

    What I'm saying is, in 2024 the general security of each platform is going to be comparable, and only a very small component in your chain of reliability. Like if you develop a threat model, and write policies, and maintain behaviours in practice, the underlying security provided by the environment isn't really that relevant.