• 5 Posts
  • 23 Comments
Joined 2 years ago
cake
Cake day: September 7th, 2024

help-circle



  • docker run --rm -it --privileged --pid=host debian:12 nsenter -a -t1 "$(which bash)"

    If your user is in the docker group, and you are not running rootless Docker, this command opens a bash shell as root.

    How it works:

    • docker run --rm -it creates a temporary container and attaches it to the running terminal
    • --privileged disables some of the container’s protections
    • --pid=host attaches the container to the host’s PID namespace, allowing it to access all running processes
    • debian:12 uses the Debian 12 image
    • nsenter -a -t1 enters all the namespaces of the process with PID 1, which is the host’s init since we use --pid=host
    • "$(which bash)" finds the path of the host’s bash and runs it inside the namespaces (plain bash may not work on NixOS hosts)






  • I think they want you to only use Windows and pay for cloud storage.

    By enforcing BitLocker and Secure Boot, they are trying to eliminate dual-booting (you don’t need to dual-boot Windows/Linux anyway, as you can just use WSL2 /s).

    By enforcing disk encryption, in general, they try to force the use of cloud storage, by making data recovery nearly impossible. Most people are probably too lazy to buy external storage, and manually copy their files over.

    This guarantees 2 money streams. One from Windows’s tracking/advertising and the other from OneDrive subscriptions.



  • TL;DR: Do not sell the app, sell the service

    After reading all the comments, I am a bit confused.

    Based on my understanding, this a self-hostable, privacy friendly app, that does not contain a libre license, as you plan on monetizing it.

    First of all, the primary reasons of opting for libre software are privacy and freedom. So, the lack of such license can be considered a red flag.

    Second, a lot of privacy conscious Android users download their apps from services like F-Droid, that have strict rules against closed-source. So, trying to sell a privacy solution on Play Store does not sound like a good business model.

    Tips for monetizing a libre service:

    1. The client should have a libre license. You code running on the user’s device should be verifiable.
    2. Charge for your STUN/TURN server.
    3. Sell the server blob. Sandboxing apps on a Linux system is far easier (to prevent them from accessing the internet and potentially leak data).

    There are apps that are even available on F-Droid, and are similarly monetized. Some examples, that I use, are: Bitwarden, Mullvad, Telegram and Tailscale.