Controlling FTP
The FTP sever normally allows remote users to go outside their home folders, but it can be configured to restrict users individually to their own home folders. This configuration requires the use of the Terminal application and the System Administrator (root user) account.
What to make
First, you create a text file containing a list of user accounts that you want to restrict. You put the short name of each user account on a separate line, making sure to press return after the last name. For example, the following list restricts user atlas and medusa to their home folders when they log in for FTP access:
atlas
medusa
In addition to restricting FTP access for individual users, you can restrict access for groups of users. For each group that you want to restrict, you simply add a line to the text file consisting of an @ symbol followed by the group name. Because all Mac OS X user accounts belong to the staff group, a file containing the following lines (the last line being blank) restricts all users to their home directories when the log in for FTP access to your computer:
@staff
How to use it
When you save the text file, name it ftpchroot and put it tin your home folder. This file must be plain text. If you want use the TextEdit application to create this file, you must choose Format > Make Plain Text before saving the file. After saving the file, change the file name so that it does not end with .txt
After saving the file ftpchroot in your home folder, use the NetInfo Manager application to enable the root user. Make sure you know the root user's password.
Next open the Terminal application and type the following command:
sudo mv ~/ftpchroot /etc
