• onlinepersona@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    Linux is used in security contexts. What do you think Kali Linux is for? There’s a linux distro that is literally a hypervisor to separate everything into VMs (Qubes). Fedora allows you to activate more security options like SELinux (which is also one way Android achieves more security BTW). And I could go on, but it seems you chose to be ignorant before making the claim linux was insecure.

    Linux distros babe many flavors and eachallows a different focus.

    • Haley@lemmus.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      Many desktop Linux distros have poor security defaults. Fedora even disables the restrictions on ptrace by default, which is strange considering the browser sandbox needs ptrace restrictions in order to function properly. Debian and Ubuntu default to apparmor which is very insecure (remember crackarmor?) and Arch has basically no security ootb and the AUR is essentially NEEDED in order to use it for most things, despite how unvetted and messy it is. Kali is not for daily driving, for the record.

      I implore you to read SecureBlue’s documentation which is where the bulk of my knowledge has been from. Even Android is not as secure as it could be, there is a reason that GrapheneOS, the pinnacle of Android security, doesn’t even consider their build of Android secure enough.

      • onlinepersona@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        Linux allows nearly endless customisation. But when making a desktop distro, you have to weigh convenience and security. You can be the most secure OS on the planet, but if nothing can run because of that, nobody will use it.

        Go ahead and try to use Fedora with all security options activated. Give it a try and find out how much you like it. I bet that once you have to resolve your first SELinux issue that prevents you from running your favorite application, you’ll start being more lax or drop it all together.

        I think already know the answer to this, but which OS do you think is the most secure?

      • Holla@feddit.org
        link
        fedilink
        arrow-up
        0
        ·
        2 months ago

        Fedora’s choice to have ptrace_scope 0 sure is strange, it seems they had a discussion about it to revert it back to the upstream default of 1.

        SEL being important was actually the main reason why in the light of recent kernel vulnerabilities I switched back to openSUSE, after being on Void for a while as inspired by this guide.

        That the AUR is insecure lays basically in its name, I really don’t get why people would use for anything but the most niche packages.

        What Android is doing well compared to Linux is that it has proper per application compartmentalization, whereas *nix systems would require each program to be run by a different user to separate them, though Linux is also improving in that regard, for example through SEL or the flatpak sandbox.