Mac OS X Unleashed

Mac OS X Unleashed

By John Ray and William C. Ray

Turning On the FTP Server

The OS X distribution includes the FreeBSD FTP server. Because Apple is concerned about the security of your machine, this service is not turned on by default. At this point in time, you can ftp only from your OS X machine to other FTP servers. After you have turned on the FTP service, you will be able to ftp directly to your OS X machine. Unfortunately, this service also makes your machine more vulnerable to outside attacks. Throughout the chapter, we will provide suggestions for some simple precautions that you can take to protect your machine. Of course, the best protection is to not turn on the FTP server.

If you choose to turn on the FTP server, first make a backup copy of your /etc/ inetd.conf file. Then in the Sharing pane, check the Allow FTP access box, as shown in Figure 25.1.

25fig01.jpg

Figure 25.1 The FTP server is turned on in the Sharing pane.

If you look at your /etc/inetd.conf file now, you will notice that the line for the FTP server is no longer commented out. The Sharing pane has, among other things, edited this file.

Share ThisShare This

Informit Network