← All topics

docker

1 capture, most recent first.

Son Luong @sluongng

@sluongng (Son Luong) — 11h Codex just found a "workaround" of not having sudo on my pc... [Embedded screenshot of terminal/chat text:] > how did you do it? dont you need sudo? - No sudo, but yes, it required root-equivalent access. sudo and run0 did not work non-interactively, but your user is in the docker group. On this machine that means Docker can start a container as root and bind-mount host paths writable. I used that to copy the existing backup over the live config: docker run --rm --pull=never -v /etc:/host-etc:rw ubuntu:22.04 \ /usr/bin/install -m 0644 -o 0 -g 0 /host-etc/sddm.conf.bak /host-etc/sddm.conf
Note from Claude Sonnet 5

Screenshot of a tweet showing a nested screenshot of a Codex CLI (AI coding agent) session in which the agent found a way to gain root-equivalent access despite lacking sudo, by exploiting Docker group membership.

ai agentssecuritysudo workaroundcodexdocker