Linux in the military

Tekkip20@lemmy.world to Linux@lemmy.ml – 101 points –

So it's no secret that some parts of the army in the USA and my country (UK) sometimes use legacy software like DOS for niche roles as they're robust including older versions of Windows.

But.. where does Linux fit in this? It's a kernel OS that's used in top of the line supercomputers, workstations, medical equipment and weather stations.

I imagine some aspects of this would be military secrets but how do they use it? I know that Linux was used for certain space projects with NASA but I'm talking about army applications.

TLDR : Does the penguin OS power shooty shooty machines and tanks

56

I've heard that the DoD uses RHEL pretty extensively. RHEL in the US Military

That article says that the US military has the largest single install base for RHEL in the world, but that was about 15 years ago, I don't know if that's still true.

Apparently back then the US nuclear sub fleet and its sonar systems also ran on RHEL.

I suspect lots of military hardware runs some form of *Nix or BSD type system. Many embedded systems run some *Nix type OS, and a huge portion of the developed world's weaponry is smart, so it it full of low power embedded systems and custom SoCs.

2 more...

Don’t look too deeply into this unless you’re comfortable discovering that the military and security state is a prolific contributor to many open source projects.

SELinux was a product of the NSA. Maybe the best thing that agency has done.

They also created ghidra! Probably second best

Also PRISM. Maybe the third—wait, wrong side of the array—worst.

I don't find that problematic as they are the ones how are likely to push for good security and reliability

There are many reasons Microsoft software is only "good" (and I'm using that word loosely) in business and home settings. Can you imagine a rocket taking off and windows suddenly "rebooting to complete updates" (or whatever it is that it says along those lines)?

Rockets probably use a dedicated OS that is safety validated. Getting something validated for critical operations is a massive endeavor.

Correct, missiles use something like RTEMS, which is named because it was used for missiles (no really, it originally stood for Real Time Executive for Missile Systems) and the operating demands for missiles have to be real-time given their unique edge cases.

Disclaimer: I worked on RTEMS in College

Not only is it hard to get certified for things like rockets but they usually use a realtime os like red hawk (a red hat fork).

Running a full OS on a rocket? Why? It's mostly some embedded stuff, some kind of arduino.

The launching platform though... maybe a minimalist OS with a curses interface.

Sadly yes, Linux kill

It depends on what side you are on. At the end of the day a tool is a tool

I said such things too, but one day I ask myself, could I said it in front of people bombed by my tools ? Our tools are not neutral things, but produce and distribute by social relationship that we could fight. Sorry but we the rise of fascism and ecological disaster we could not afford to give up our power as producer to mass murderer

Okay but at the end of the day it's not like you're Tony Stark making Jericho missiles.

Linux, encryption, the Internet, heck, computers, are so generalized as a technology that the burden of sin lies with whomever would pervert these tools against their fellow man.

I am not sure this is a wide spread behavior among the IT. Reading the "Debian Free Software Guidelines", we could have some doubts. My point is not that free software are good or bad, but that is not enough. If we want te be responsible as producers, we have to organize as such to stop production that killing us (with climat change or military for example) and promote the one that emancipate us. Free software are a way to achieve the last one, unions the fist one

Greek military uses Linux Mint, so yeah, it's used in some places. I believe the Indian one does too.

That is actually terrifying. How do they secure and lock it down?

It's Ubuntu, so it's secure.

It uses a supported LTS kernel, for better stability and security. Updates to a newer LTS kernel if the LTS it was using is no longer supported.

It's very secure by default.

It is in fact not that secure by default. It lacks a way to manage the desktop in mass. Not to mention is also lacks a firewall and selinux but those can be enabled. Also I wouldn't trust the lock screen as it can be bypassed because it is Xorg.

Linux Mint is very good for general usage but I doubt its security in a military application. It is better than before which is good.

Firewall is pre-installed, and they offer to configure and enable it on launch (similar to Ubuntu and many other distros). I've never seen a Linux desktop they came with firewall preconfigured in any way.

The lock screen is an issue, and Cinnamon does not come with a Wayland way to lock yet. KDE, Gnome or some other Wayland friendly DE would be better in that regard, I agree

Well I know my local army base (US) was looking for Linux sys admins, so I figure they have some servers on base.

as they're robust

I would argue they are just what was used during development. After that, it never changes.

Why did they use it back then? Were there many alternatives? I do not know.

I haven't done any work for the military but i can say that all the legacy systems I've worked on were because the specific software they need was written only for Windows 98 and the developer or company that created it is long gone. Keeping it going is a chore but switching to literally anything else is out of the question.

I could see for military applications that having the known quantity of a working piece of software that isn't changing anymore and can be swapped as an entire unit is an advantage, especially if it doesn't touch the internet in any capacity. But eventually you run out of people who know what to do if any changes need to be made.

COBOL has entered the room... although i've heard Ada is more popular in military applications.

1 more...
1 more...

We used it as OS for the tank and airplane simulators, just because it made them cheaper compared to buying 500 Windows licenses

I imagine they use it in much the same way as any enterprise. Running servers and workstations, mostly.

F16's run Kubenetes clusters.

Lots of individual bits of hardware on specialized devices will be running embedded operating systems. QNX is big in automotive for the same reasons it'd work on a rocket.

Also big in healthcare/medical products,btw.

Linux is commonly used in the communications systems, like on invidual radio "stations". Propably used everywhere where high confidentiality and security is required.

Linux isn't great in terms or high security. It isn't bad but it does have a lot of CVEs. I imagine there is some highly compact and locked down OS used.

Linux distro NixOS is used by mil-tech company Anduril

I've heard of Palantir, now Anduril... What's next, Saruman Ltd.? Uruk-Hai-corp? Poor Tolkien doesn't deserve his mythology being co-opted by war profiteers. :(

BTW: Anduril is a startup from Luckey Palmer, the guy that built the Oculus VR headset in his garage. The later sold Oculus to Meta for 2 billion $. 3 ex Palantir guys started Anduril together with him.

I saw a youtuber once reviewing the distro that the Russian military uses. It had some crusty retro desktop environment iirc.

When I was in the army the S1 desk jockeys were using dedicated word processors with 8" floppies. Get off my lawn! :-)

Knowing what the army is like, that could have been in 2010 lol

I'm not so worried about stormtroopers using linux as much as guns, bombs, prisons, cops, torture, genocide, nukes, etc.

Turkish military uses Pardus, a Turkish Linux distro, but I'm not sure to what extent.

Why are you asking? Yes it is used but obviously the exact systems are kept secret. As far as I know it is a mixed environment. I do know the US Air Force uses Kubernetes

I ask because using the funni penguin kernel in a weapons grade equipment is funny