logoalt Hacker News

reactordevtoday at 10:55 AM2 repliesview on HN

not the same thing. Containerization prevents devUser from accessing your machine root with its root. By containerizing, if devUser tries to sudo or su and gets a root, it will only be their root and not your root. Read up on cgroups.


Replies

progvaltoday at 11:20 AM

Successful sudo from a cgroup still makes you root on the machine. What you want for this is user namespaces, not (just) cgroups.

show 1 reply
grosswaittoday at 11:21 AM

Why would you allow devUser sudo?

show 1 reply