* Robert Copelan (robertc@mindspring.com) [001022 02:01]:
We need to also keep the FTP user from changing to such directories as /bin , /etc. Tried the rooting suggestions in the MAN pages but then don't seem to be able to list what's in the FTP directories. Any ideas?
If you use a chroot environment, you have to copy all necessary libraries
and tools to that chroot environment as those in the regular environment
aren't accessable from inside the chroot environment. For example, here's
the contents of the sample ftp environment that gets created when you choose
to install that package:
/usr/local/ftp/msgs/msg.dead
/usr/local/ftp/msgs/welcome.msg
/usr/local/ftp/usr/bin/ls
/usr/local/ftp/usr/bin/gzip
/usr/local/ftp/etc/passwd
/usr/local/ftp/etc/group
/usr/local/ftp/lib/libnss_files.so.2
/usr/local/ftp/lib/libc.so.6
/usr/local/ftp/lib/ld-linux.so.2
/usr/local/ftp/bin/ls
/usr/local/ftp/bin/tar
/usr/local/ftp/bin/compress
Ahh yes, the FTP directories have, of course, also to be in that directory
tree as symlinks obviously won't (and can't) work.
Philipp
--
Philipp Thomas