When to Pick Tux over Windows and Mac OS X
- 2007.10.15 - Tip Jar
Mac OS X is an incredible operating system: powerful, stable, and beautiful. But there are times when Linux offers a better solution. Two that come to mind immediately are for dedicated servers and high security applications.
Some qualifications and context are required to understand my reasoning.
Being based on BSD, OS X is a fast, stable, operating system. It also ships in a reasonably secure state. So why would I suggest that Linux makes a better server?
The answer is flexibility.
Apple offers dedicated OS X servers in a rack mount form factor, branded Xserve along with Xserve RAID storage. However, you get a sense of Apple's consumer focus by noticing that Xserve products don't even appear on the main Apple Store page. You need a dig a little to find them.
As a small office or workgroup solution, especially in a Mac-savvy shop, Xserves are great, but when you get into a mid-sized or large organization, the flexibility of Linux becomes more important than saving a little setup time.
Since OS X ships with GNU C compiler, Linux only has a slight edge in available software, but it is definitely easier to do things like customize the kernel. Replacing major components like the MTA is also a little easier in Linux, because the integration with other applications usually isn't as tight.
Yes, hardware flexibility is the biggest advantage of Linux. You can load Linux on an Xserve, an old PowerPC box, IBM blade servers, or a super cluster of generic servers. And it's easier to upgrade a PC-based Linux box as your needs change.
In most cases, Linux can be deployed less expensively than Xserve, making it a better value.
While the focus of the article is OS X and Linux, the security context requires that I mention Microsoft Windows. I have fairly in depth knowledge of all three systems and run all systems to some degree.
There are a lot of metrics that can be used to measure security, but it's as much art as science. If you start with the operating system, you can look at past history, the number of known exploits, the severity of known exploits, and the malware ecosystem. You have to account for the out of the box configuration, included software and services, encryption options, and the ability to apply patches. Then there's the hardware - physical security and locking options, processor and architecture exploits, portability. It can be mind numbing.
Turning the myriad of security metrics into something quantitative is extremely difficult. My qualitative sense is that on a scale of 1 to 10, with 10 being the highest level of security, Microsoft Windows rates a 2, Mac OS X rates a 7, and Linux rates a 9.
Ultimately, the biggest factor in the ability to secure a system is the ability to trust it. On trust alone, Linux is head and shoulders above the rest. Let me explain and offer a few examples:
Microsoft Windows: 2
The Windows stealth patch incident is a glaring example of an untrustworthy system. This is a case where Microsoft forced a system update on users regardless of their preferences or whether or not they wanted the update. There was no notification and no warning; they simply replaced some system DLLs. Actions like this beg the question, "Who really controls a system running Windows, the owner of the computer hardware or Microsoft Corporation?"
Another example is the architecture of the Windows Product Activation (WPA) feature. It requires that Microsoft be able to remotely reach out and disable any computer it thinks is running unlicensed software. The fact that WPA sometimes flags valid software as unlicensed is a growing concern for some. It is a "guilty until proven innocent" scheme.
The only way I use Windows now is disconnected from all networks.
Combine the built-in features of Windows with the giant universe of active malware that comes with the platform, and you have a system that screams insecurity. Even with the latest patches applied, the latest anti-virus and anti-kludgeware, and locked in Fort Knox, I would not trust sensitive data to Windows. The only way I use Windows now is disconnected from all networks.
Mac OS X: 7
Being based on BSD, a Unix-like system, OS X starts out far ahead of Windows. The security model is proven (to this day, there have been no OS X viruses or malware in the wild), and the default configuration is generally safe with no unnecessary services running. Mac patches require approval before they are applied, and there is nothing as virulent as WPA waiting to shut you down if you plug in one too many peripherals.
I love using Macs (I'm banging this article out on a Mac), but there are two things that limit my ultimate trust. One is the lack of open source for the some parts of the system, and the second is the track record of Apple toward users. Without complete source, I can't be reasonably sure that Apple won't force a Windows-style stealth patch someday. In fact, I am reasonaly sure they have the ability to do so.
The hyperactive Apple legal department also gives me pause. Could the government or Apple's own legal team have forced the addition of a backdoor in OS X or the ability decrypt FileVault data without a password? I doubt it, but with no way to find out, my trust is limited. Clearly, I trust OS X far more than Windows - and I trust it enough for everyday use.
Linux addresses all the major trust issues I have with proprietary vendors. I can be certain that no patches will be applied unless I permit it. I can control precisely the software I want to run and can remove any software I don't want to run. I have complete access to all source code, along with many other people, so security issues can be found and fixed quickly.
There is no phoning home and no unlicensed software by definition. I can use encryption algorithms that have stood the test of time and proven strong. I have a strong level of confidence in every part of the system - I trust it, even connected to the big, bad Internet.
The only reason Linux doesn't get a 10 is that the source base is so big that something could be lurking there that doesn't get detected right away. Still, for a high security applicaion, I would choose Linux every time.
Keith Winston is a recent Mac convert after five years of Linux on the desktop. He also writes for Linux.com and created CommandLineMac to focus on the Unix-y power of the Mac. If you find Keith's articles helpful, please consider making a donation to his tip jar.
Recent Linux to Mac Columns
- Apple's launchd Is Anti-Unix, 2010.07.13. Unix prefers programs that do one thing very well, but Apple's launchd takes the opposite approach.
- Automount OS X Home Directories Using OpenLDAP and Linux, 2009.09.28. It's possible to get an OS X Mac to automatically mount a Linux server using OpenLDAP. The tricky part is finding all the steps needed to make it work.
- Introduction to Autofs in Mac OS X, 2009.07.01. "Autofs is often used in enterprise environments to set up network-based home directories and other network mounts for users at login."
- More in the Linux to Mac index.
Links for the Day
- Mac of the Day: Centris 610, introduced 1993.02.10. This was the Mac we used when we started Low End Mac in 1997.
- May 23 in LEM history: 00: A computer I understood - 01: Mac: A dream fulfilled - 02: PowerKey - 03: 12" PowerBook better than 15" TiBook - 05: The First Macs - 06: What's in your workspace? - Picking the right laptop - Sun has set on the G4 - 06: Running your notebook using flash memory - 08: MacBook holds its own against Dell and HP
- Support Low End Mac
Recent Content on Low End Mac
- World Book Encyclopedia 2012 DVD, Tommy Thomas, Reviews, 2013.03.05. "You may be asking yourself, in an age of Wikipedia and instant information, is World Book still relevant?"
- Vintage Computer Festival SouthEast, April 20-21, 2013, Simon Royal, Mac Spectrum, 2013.02.25. Old Apple gear and old PCs.
- iMessage: The Ultimate Messaging Service?, Simon Royal, Mac Spectrum, 2013.02.21. In most ways, Apple's iMessage is far superior to BlackBerry Messenger.
- More links in our archive.
- Best Mac mini Deals
- Best 13" MacBook Pro Deals
- Best Intel iMac Deals
- Best iPod touch Deals
- Best iPhone Deals
- Best iPod nano Deals
- Best iPod classic Deals
- Best Apple TV Prices
- More deals in our archive.
Low End Mac Reader Specials
Cult of Mac
Shrine of Apple
The Mac Observer
Accelerate Your Mac
The Vintage Mac Museum
Mac Driver Museum
System 6 Heaven
System 7 Today
the pickle's Low-End Mac FAQ