41.4. Setting Up Anonymous FTP

Configuring WU-FTPD to accept anonymous logins is slightly more complex that you would expect, due to its use of the ls command to generate directory listings. So that this command (and others used by server) cannot escape the directory to which anonymous clients are restricted, the server uses the UNIX chroot system call to restrict itself and all programs that it runs to that directory. This means that the root directory must contain all the programs, files, and shared libraries that WU-FTPD and the ls command need to run.

By default, the home directory of the special UNIX user ftp is used as the anonymous FTP root, but different roots can be assigned to different client classes. Whatever directory is chosen, ...

Get Managing Linux® Systems with Webmin™ System Administration and Module Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.