Is this now a good place and time to explain why I prefer distros with SELinux properly configured ( like RHEL, Fedora or SUSE) over Arch and Podman or Kubernetes over Docker?
By default yes you can very easily do heinous shit with passwordless sudo that's actually pretty relevant to the podman example except people are way more likely to fuck around in the podman config
Depends on yiur threat model? Im a noob with cybersec, but someone who does it for a living said i had to pick the distro that fits me and be aware of whats possible and not, and be aware of its implemented security or lack there of, decide if its worth it also based on where and how i life, where i take it, and how large of a target i am.
So the laptop that never leaves my house and dont use for much but playing games. Low effort. The laptop that comes with me everywhere, more security. The vps on the internet, locked down, access keys, as few services as possible.
I do like podman alott, disliked docker for being allow everything from the start. I prefer optionally lockdown everything or there isnt even a thing running. As few packages in arch too, and few to no Aur if possible
So is it actually a better idea to run Docker commands with sudo when necessary? I've always added my user to the docker group whenever I installed it.
Though it'd require permissions of your user in the first place to be exploitable - at which point the potential malware already has access to all your user files anyways.
Except the user isn't added to the docker group by default (anymore) as stated in the article. Just tried it on a fresh 4.0.2 Installation. In the omarchys menu, there's a feature called sudoless docker, which can add you to docker group but prints out a big explicit warning about the downsides of this.
View all comments
Show parent comment
280
u/bearstormstout Arch BTW Sep 01 '26
https://0xcc.io/posts/omarchy-root-creds/
tl;dr anyone can use docker to execute any process as root without sudo.