Omarchy: Any User Process Can Escalate to Root

74 points by ucirello


adam_d_ruppe

docker: command not found looks like my computer is safe lol.

But tbh, I'm pretty meh on escalation to root for my computer. Everything I actually care about is my user-level account. If that gets pwned, even if purely read-only I'm a lot more trouble than some process being able to write to the generic files that came with the operating system.

mitsuhiko

I would love to have a survey on how many people run docker without sudo. I would bet it's a lot. In fact, it has become such a trope that most AI models these days know that it's a way to get sudo if you fail to give it sudo permissions.

sebastiancarlos

It's interesting how a lot of Linux users make their users effectively root because they want to use docker without sudo. At laest the Arch Wiki warns about it:

If you want to be able to run the docker CLI command as a non-root user, add your user to the docker user group, re-login and restart docker.service.

Warning: Anyone added to the docker group is root equivalent because they can use the docker run --privileged command to start containers with root privileges.