-->
Previous | Table of Contents | Next |
The FTP system discussed in the preceding sections, which is the basic one supplied with practically every Linux distribution, requires a bit of work to make it secure. However, it is still vulnerable to very experienced crackers. Theres a better alternative if you are paranoid about your systems security: WU FTP. Developed at Washington University, WU FTP adds some extra features to the standard FTP system:
If these features sound useful, you can obtain a copy of the source code of WU FTP from several sites, although the primary site is wuarchive.wustl.edu. Check for the file /packages/wuarchive-ftpd/wu-ftpd-X.X.tar.Z (where X.X is the latest version number). You will get the source code that needs to be compiled on your Linux system.
WU FTP uses a number of environment variables to control the service, and the accompanying documentation helps you set it up properly. Setting up WU FTP is much more complex than standard FTP, and the extra security, while useful, may be unnecessary for many FTP site machines you may have set up at home or work (unless you have sensitive information).
Anonymous FTP is fast, relatively easy to use, and a huge security problem if you dont carefully set up your system. The following list summarizes a few simple steps to setting up a better anonymous FTP site:
chown root /usr/ftp
chmod ugo-w /usr/ftp
mkdir ~ftp/bin
chown root ~ftp/bin chmod ugo-w ~ftp/bin
cp /bin/ls ~ftp/bin
mkdir ~ftp/etc chown root ~ftp/etc chmod ugo-w ~ftp/etc
mkdir ~ftp/pub/incoming chown root ~ftp/pub/incoming chmod ugo+w ~ftp/pub/incoming
By following these steps (modified for your own particular needs), you can create a secure site that lets you breathe a little easier.
The information in this chapter enables you to set up your system as a full anonymous FTP site or just a site for the users you want to gain access. Although the process is simple, you have to take care to ensure the file permissions are properly set. Once your FTP site is up, you can let others on the Internet or your local area network know that you are running, as well as the type of material you store on your system. Then sit back and share!
From here, there are several other chapters you may want to read to learn more about related subjects. To learn about:
Previous | Table of Contents | Next |