On Tuesday 22 April 2003 13.48, Michael Ryan wrote:
Anyone point me to a good doc on how to set up ftp daemon in a chrooted environment.
sorry, no docs, but i'm using a chrooted pureftpd (www.purefptd.org) along side a chrooted apache webserver (publishing users web sites) but is should work with the majority of ftp servers. just create a chroot-directory containing all libs and other necessary files used by your server (ldd the executable) and run /usr/bin/chroot /chrootdir /path/to/ftpserver alongside you chrooted server you should try the grsecurity kernel patch (www.grsecurity.org) to enforce your chroot a bit more. the problem, at least with pureftp, is that you might double chroot but that's up to you. /Thomas -- thomas@northernsecurity.net thomas@se.linux.org