Why is chroot dangerous?
Answer
In order to use the chroot(2) function, the FTP server must have root privileges. … The server process runs that malicious libraries, and because the server might still have root privileges, that malicious library code can then have extra access to do whatever it wants.
Answer
In order to use the chroot(2) function, the FTP server must have root privileges. … The server process runs that malicious libraries, and because the server might still have root privileges, that malicious library code can then have extra access to do whatever it wants.