by yjftsjthsd-h · 2y ago · 0 comments
For those who believe that's true, why not run everything as root? I mean, seriously: why not just run the browser as root?
> why not just run the browser as root?
Practically, last time I tried Chromium wouldn't let me. But Firefox did, at least.
The better answer is that they can use some level of internal sandboxing so that an exploit affecting one part of the browser doesn't make it out of the browser, and AIUI if every part runs as root it's easier to escape that layer of security.
The security gain is significant on multi-user systems where you don't have sudo/doas privileges at all - even if a user is compromised, the system administrator should not have to worry about it.