3 ms·
Why do we need to use mount and pivot_root when we have chroot available? Am I missing something here about why those can't be used?
by kcolford 6y ago
Why do we need to use mount and pivot_root when we have chroot available? Am I missing something here about why those can't be used?
- setheron 6y agoYou can escape chroot easily with relative paths pretty sure. In Linux it never surprises me that there's X ways to do Y. A side effect of the OSS system and wanting to not break comparability. This guide was meant for newbies so it doesn't broach on these security concerns.