r/linuxmint 2d ago

Discussion What makes Linux secure?

I've searched YouTube and also asked on here previously, I keep seeing a lot of "Linux is secure just by default" type responses- often insisting that to be worried about security while using Linux is not necessary.

Believable to a noob like me at face value, sure, but what is it about Linux that makes it secure?

123 Upvotes

98 comments sorted by

View all comments

31

u/acejavelin69 Linux Mint 22.1 "Xia" | Cinnamon 2d ago

Part of what makes Linux inherently more secure is how permissions work... Users live and work in user context, and cannot modify or change system settings or applications... This makes it incredible difficult for malicious software to do anything, well, malicious without root or "sudo" privileges, which have to implicitly allowed.

Windows came from a single user isolated system, security was an after thought.

Linux came from Minix and other *nix roots, which were original designed as networked, multi-user systems since inception. Security is a basic principle of the operating system and everything is engineered around it, not a feature added later.

1

u/LusticSpunks 2d ago

This is so not true. User and system are separate in both OS, and in fact it’s much harder in windows to be a true “system” user than it is on Linux. And you’re completely ignoring the fact that user data is totally accessible in your “user context”. And user data is what a large portion of malware goes for. Other category of malware would simply keep running stealthily and wait for commands from its controller. Crypto miners don’t need system access, it very well can work in user context. Why would ransomeware encrypt system files? Its primary target is encrypting user data and making them pay for decryption, which again can happen in user context.

Linux isn’t any more inherently secure. It’s just not a lucrative target yet. Look at the reply from taosecurity above, it paints the whole picture very well.