r/OS_Debate_Club • u/Tv_in_the_bg • 1d ago
Linux's security model is less secure than windows. (Actual criticism, not just an umhinged pissed off rant)
Edit: im wasting my time here. this sub should just be renamed to r/LinuxCirclejerk. oh wait, that already exists.
Recently i posted a vitriol-filled rant about linux and its userbase, and realized i failed to articulate my frustration accurately. My mistake was mistaking the term "permissions" for security model. Its the security model of stock linux that genuinely pisses me off. It basically assumes you cant be trusted with access to the filesystem.
I dont want to set filesystem permissions manually on a global scale, and id argue that in a way, linuxs securtity model is actually less secure than windows, because you have people doing what i was doing, using chmod/chown on literally everything because they dont feel like fucking with it, when it could just have per-action elevation with a uac prompt like windows that doensnt permanently modify permissions.
Then, you have the community with zero social awareness telling you why that opinion is wrong which of use to absolutely fucking no one. I dont have a problem with linux at the kernel level, its all of these shitty desktop environments, combined with the pretentiousness of the majoriy of linux users that drive me nuts.
Not having permissions integrated with a per-action elevation system, and instead having to set everything manually, seems like a lazy and half-baked way to build an operating system.
4
u/AveugleMan 1d ago
I'd argue in the complete opposite sense. Having windows promoting you every single time if you want to use or delete something gets extremely old after a few years.
Windows also straight up won't allow you to delete some files and keys, no matter how hard you try.
Linux being a one and done permission change is way simpler, it just assumes you know what you're doing, which a lot of people don't. You're not supposed to use permission changes on Linux without knowing what they do, but people do, and then complain when they bork their install.
2
u/MouseJiggler 1d ago
Lads, I deliberately broke the security system, and it's everyone's fault but mine!
1
u/barnamos 1d ago
Yes getting frustrated with locking down access which is the definition of security and deciding not to certainly makes Linux less secure than Windows lol.
1
u/pangapingus 1d ago
All current OSes face the same underlying issue that just rears its head in different ways: ambient authority. Look into capability-based systems like KeyKOS, Hydra, etc. as what computing could be without an assumption of ambient authority. Your rant is pretty low-level too, you're complaining about self-inflicted footguns which can happen in any OS, as if you can't give a printer driver SYSTEM rights on a Windows Server (yes I've seen this in the wild in MSP work). Ambient authority affects all traditional Windows, Mac, Linux, and Unix stacks; sure some of these OSes/distros allow for MAC/MAC-esque controls, allowlisting, etc. but these are bolted-on protections covering up the underlying problem.
1
u/tapo 1d ago
I'm still not sure what you are trying to do here.
For what it's worth Windows does have a better ACL system because NT was designed with a lot of learnings from VMS/Unix. Linux just copied Unix's permission model and other things like SELinux, namespacing, and capabilities were added later.
1
u/Technical_Drink_846 1d ago
Agreed. The Linux kernel is obviously going to be secure but it's not designed to be an OS for running random software. UAC and firewall configuration is really simple on Windows and lets me know which apps are doing what. Try getting the average online Arch, Mint, or CachyOS user to configure a firewall or stop an app from accessing location of Bluetooth services. These users largely download random software to get a cool toolbar or something and and assume it's secure because it's either written in Rust or is "open source", which obviously means the code has been reviewed and is doing exactly what you think it is.
1
u/LawfulnessNo8446 1d ago
So your argument is that Linux is less secure than Windows because you need to change ownership of files to your user instead of root before you can modify them?
What?
That's not a security flaw. Those files are owned by root for a reason, and you need to use sudo or root to modify them.
You also argue in other comments that it's really requiring the terminal to elevate to root that is the problem. I also fail to see how that is a security issue rather than a ux issue.
1
u/HunnyPuns 1d ago
I'm confused on a couple of levels here.
First what are you, a user, trying to work with on the file system that isn't already in your home directory?
Second, the Useless Authentication Component. Just like, all of it. Why the fuck is it there? You have access to certain files but they're kind of protected in some weird, magical fashion that doesn't make sense. Elevate your privileges and you get access to them. Or run whack whack localhost whack C$, and as long as your user has permission to work with the file, you can work with the file. Why couldn't we just work with the file if we had permission to do so?
Let's start with that and see where this goes.
3
u/Corona688 1d ago
even on windows, you don't have access to most files.
even on windows, chmod 777 is a stupid idea.
you simply do not understand what you are doing and are using the largest hammer to drive all nails 3 miles deep into the earth's core.
2
u/HairMouser 1d ago
I m sorry to say that but it s because you don t seem to understand the risk of the permission system you described, and the desktop environment in linux in a general way... there is so many different desktop environment and each has it s own particularity (and i can understand you don t want to spend time digging through them while hoping to find the one matching your needs...)
And in a general way: if you don t like linux don t use it, nobody cares, it s your machine, as long as you don t ask someone else to maintain it i don t see why you would want to install an os you clearly don t want to use.
For the pedantic "zero social awareness" of the community, it s unfortunately logical to get such response from a community heavily based on security or computer expert, it s not the community best known for their social skills with other people (and i clearly am counting myself in the lot by saying this)
Lots of us are into linux because it allows its users to do what they want with their computer and systems, and because we like to understand things. We don t want to relly on windows product to dictate what we should know or be allowed to do depending on the price we paid for their os...
It s normal some people "just want to use their computer" nothing really wrong with that, no need to piss on each other for this matter
1
u/knuthf 1d ago
All the distributions fail miserably here. Firstly, none of them use 'Groups'. ZERO use them. They use groups as 'roles', which is incorrect. Worse is Fedora, where there is just "me" no computer name, and a protected user called "root", but I can achieve the same thing by entering a password for the "sudo" command.
This must stop. Everyone must be set up as an administrator with their own UID that is not 0. "Me" cannot be UID=1. Then everyone must have a "user" that can be assigned differently to me. It is also very important that there is a 'netuser' that everyone else defaults to, unless they access this keyboard using their fingerprint. There are then three groups: Admin, Users and Network. The network can be the company LAN or the internet by default. I don't currently have any big projects or code repositories that must be kept confidential yet instantly accessible to the new groups as and when they need access to them. As the boss, that is my responsibility.
Unlike Windows, we have all the tools; we just have to use them.
1
u/Sert1991 1d ago
Because your opinion is wrong.
It's not that linux security model is wrong. IT's that it's different.
It's up to you to decide if you have the technical skills to maintain security on linux like the hundreds of companies that do it and run the internet on it, or not.
And if you decide that you don't have those skills, you can use a version of Linux that others do it for it, like Kubuntu/Ubuntu, redhat, or even more controlled: android.
Not everything needs to be locked down and made for the average user that doens't know how to manage stuff like Windows. That's why windows and mac exists, and that's why they're the most popular with the average user.
If you over estimate your skills and use an OS and Distro of it clearly made for people with higher skills, that's on you.
The companies that choose linux choose it exactly because of what you are criticizing it for, because it doesn't do shit like windows, because if you need extra security and you know what you're doing it it allows you to achieve it.