This privacy-focused Linux distro ensures you only install trusted apps – here’s how

ZDNET’s key takeaways

  • LinuxDoors takes a different approach to privacy through app security.
  • It simplifies compiling apps directly from upstream source code.
  • LinuxDoors is free to install and use or run from a USB drive.

LinuxDoors is a free, privacy-focused Linux distribution that takes a different approach to security: It lets you install applications directly from upstream source code without having to manually compile them. After testing LinuxDoors, I found it to be a handy option for users who prioritize application security but want to retain their files between startups.

Most Linux distributions focused on privacy follow a fairly standard pattern: They use tools specifically optimized for privacy, such as Tor; they run from USB drives; and every time you reboot, you start from scratch. That’s a great way to approach privacy; it’s simple for any user, is effective, and leans on the usual security of Linux. But it’s not for everyone.

Also: My 5 favorite Linux distros for security – and how they protect your privacy

Some users would prefer not to start from scratch every time they boot a privacy-focused OS; they’d rather save files and access them every time they log in. However, if you want real privacy, you’re willing to take a few extra steps. So, when I stumbled upon the independent LinuxDoors distribution, my curiosity was piqued. After reading about this distro, I concluded that it is more of a curated collection of Linux apps launched from a desktop UI.

It’s less an OS than it is a launcher. Yes, it has everything those apps need to run, but its goal isn’t to serve as a typical operating system. The curated apps include traditional applications (such as a web browser, file manager, image viewer, terminal app, and desktop environment) as well as a selection of LinuxDoors’ own apps (such as an SSH manager, kernel configurator, network settings app, and package manager).

LinuxDoors is an interesting OS that resides somewhere between those ephemeral distributions and more traditional fare. It may be an ugly duckling of a distro, but it’s very handy.

How LinuxDoors approaches privacy and security

You can approach LinuxDoors in two ways: Run it from a USB drive or install it in the more traditional sense. If you install it as a traditional OS, your data is saved between startups. If you run it from a USB drive, you get a fresh install every time. But there’s a twist. Regardless of which route you go, there’s always an account to log into. The account username is linuxdoors, and the password is — you guessed it — linuxdoors.

What’s nice about this is that if you save anything to the linuxdoors account on an installed system, it remains between boots.

Also: Maze Linux is the best security-focused distro I’ve ever tested

But how is that privacy-focused?

Unless you run LinuxDoors from a USB drive, the privacy of this distro isn’t so much about shredding your files, deleting your browser history, or covering your tracks. There are plenty of Linux distributions for that. Instead, LinuxDoors thinks about privacy differently: the privacy and security of applications.

How LinuxDoors installs apps from source code

Under the hood, it’s all fairly complex. Every application in LinuxDoors can be installed via two different methods.

The first method uses a small, prebuilt ZIP file containing the finished, precompiled files, ready to go. Think of this like a Flatpak app.

The second method is to install from source code, but this isn’t what you might assume. You don’t have to download the source, unpack it, compile it, and build it. Instead, you install it from the package manager, as you would any app (with a single click). When you install via the latter method, the package is downloaded and compiled from the upstream source directly on your machine. So, what are the pros and cons of each installation method?

Prebuilt ZIP installation

  • Pros: Quick to install and avoids potential compilation failures.
  • Cons: The containerized version isn’t compiled directly from the upstream source on your machine, making it harder to verify.

Installation from source code

  • Pros: The app is compiled directly from upstream source code, and you can get the latest version of the app.
  • Cons: Much slower installation; installation can sometimes fail.

The app you are installing is either a containerized version of the app or one that is compiled specifically for and on the machine using it. Either way you go, it’s the same app, and everything that is required to build the app (such as the GCC, Clang, and Rust toolchains) is also built from source, with nothing carried over from another Linux distribution.

Also: 5 of the easiest, quickest Linux distros to install – and I’ve tried them all

The key here is that everything on LinuxDoors comes directly from the source, so there’s no developer, distro, or third-party repository in the pipeline. Simply put, this means you can trust the apps you install on LinuxDoors. On top of that (and this is important), compiling those apps runs sandboxed as an unprivileged build user, and only the final step that copies the files to their requisite locations requires root privileges.

Here’s how to install an app on LinuxDoors:

  1. Open the LinuxDoors Package Manager app.
  2. Search for an app to install.
  3. Double-click the app you want to install.
  4. Choose whether you want to go the precompiled package or built-from-source route.

I installed the Linux Ultra Office office suite by way of the precompiled binary. The install took maybe 15 seconds. In the end, I could go to Applications> Office and open either Writer, Calc, or Impress.

Also: I’ve used Linux for 30 years, and this free security suite does it all

I did try to build UltraOffice via the source route, but couldn’t get past an HTTP 503 “Temporarily unavailable” error. However, when I installed GIMP from source, it worked fine. This method takes quite a bit longer (about 5 minutes), but if you want to be able to 100% trust the apps you’re installing, it’s the way to go.

It’s fascinating to watch the installer download each package so it can be compiled directly on the machine.

LinuxDoors compiling an application from source codeScreenshot by Jack Wallen/ZDNET

How LinuxDoors helps secure your system

And then you have the LinuxDoors Make Secure app. When you open that app, it tells you whether any aspect of the OS needs to be secured. For example, I enabled the SSH service to access the OS remotely. When I launched LinuxDoors Make Secure (there’s an icon on the desktop for it), it informed me that sshd was reachable from any network interface. It also gave me a single-click Secure Now button. I clicked that, and SSH was immediately locked down.

LinuxDoors Make Secure appScreenshot by Jack Wallen/ZDNET

That’s surprisingly easy. Without that button, I’d have to open the terminal window, create a rule to disallow SSH traffic from all network adapters, and stop the SSH daemon.

What it’s like to install and use LinuxDoors

For my testing, I did install LinuxDoors as a virtual machine. What’s interesting about that process is that it doesn’t give you the opportunity to customize the desktop, select a desktop, or create a user. In fact, the installation happened fairly quickly, and upon reboot, I was presented with the login window with the linuxdoors user preselected. I wasn’t warned about a password or offered the option to change it. I entered linuxdoors in the password field and found myself on the desktop. Any time I was prompted for the root password, I entered it and was granted whatever permissions were needed.

Also: 5 best Linux distros for staying anonymous – when a VPN isn’t enough

Out of curiosity, I opened a terminal and created a new account using the adduser command (there is a Settings GUI, but it does not include an option for user management). That worked fine, and I had a third login option.

The desktop in question is Xfce, so LinuxDoors runs very fast (whether you install it on the drive or run it from a USB drive). It’s also fairly ugly, but you don’t install a distribution like LinuxDoors for its aesthetics.

Which begs the question: Why would you opt to install a Linux distro that is unpleasant to the eye and very nonstandard in its approach to how it works?

The answer: You want an OS that lets you maintain the usual privacy in your web browser but also gives you more control over the source of the apps you install (especially if you go the source-install route).

No, LinuxDoors is not a distribution you would use for anonymous browsing (although you could always open Firefox in private mode for local browsing privacy), but the added transparency you gain with app installation is definitely worth the extra work. I find that fairly refreshing because I can install apps directly from upstream source code.

Also: Pop!_OS just became my favorite OS, hands down

I don’t want you to be misled here. Installing Linux apps from standard repositories is generally safe (maybe with the exception of the AUR in its current form), but with LinuxDoors, there’s the added bonus of installing the latest versions of apps (with the latest security patches) directly from the upstream source without having to jump through the typical hoops of traditional compiling and building. LinuxDoors simplifies that process so that anyone can install applications from source.

How to improve browsing privacy on LinuxDoors

If I want to prevent Firefox from retaining my browsing history and cookies, I can open Firefox Settings, search for History, enable “Clear cookies and site data every time you close Firefox,” and also enable “Never remember history.” Boom. Done.

Firefox privacy and history settings on LinuxDoorsScreenshot by Jack Wallen/ZDNET

With the slightest bit of tweaking, you can add user data privacy protections to a distribution that already focuses on application security. It’s a win-win.

Also: This lightweight distro revives old PCs destined for the junk pile

Who should use LinuxDoors?

LinuxDoors is a good choice for privacy-conscious Linux users who want to install apps directly from source code without manually compiling them. If you’re interested in trying LinuxDoors for free, grab the ISO from the official download site and either create a bootable USB drive with it or install it as a virtual machine or on a spare PC.

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *