Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Apple > Operating Systems

  • Print
  • + Share This
This chapter is from the book

Configuring FTP Service

You use Server Admin to share a folder over FTP. As you’ve done previously with SMB and NFS shares, you’ll create a folder and make it available to others using the FTP protocol.

  1. With Server Admin on your Mac OS X computer, select your server, then click File Sharing in the toolbar.
  2. Click Volumes, then click Browse.
  3. Navigate to the Shared Items in your boot volume.
  4. Click New Folder and create a folder named FTP Services.
  5. Select the FTP Services folder, click Share, and click Save.
  6. With FTP Services selected, click Protocol Options, and confirm that the checkboxes are deselected for sharing this item using AFP and SMB.
  7. Click the FTP tab and select the checkbox for “Share this item using FTP.”
  8. Deselect the “Allow FTP guest access” checkbox.
  9. Click OK to dismiss the Protocol Options pane, then click Save.

    Now your shared folder is visible only to FTP clients.

Allow Access for Selected Users

Next, you’ll start the FTP service and allow access to FTP for certain users and groups.

  1. On your Mac OS X computer, open Server Admin and select your server in the left column.
  2. Click the Add (+) button and choose Add Service from the pop-up menu. Select FTP and click Save.
  3. Select the FTP service, then click Settings.
  4. Click General.
  5. Choose Any Method from the Authentication pop-up menu.
  6. Deselect the “Enable anonymous access” checkbox.
  7. Click Save.
  8. Click the Start FTP button in the bottom-left corner.
  9. Select your server (rather than the FTP service) in the left column of Server Admin.
  10. Click Access in the toolbar.
  11. Select “For selected services below.”
  12. Select FTP from the list.
  13. Select “Allow only users and groups below” and click the Add Group Members (+) button.
  14. Drag users Student One and Student Two from the Users and Groups window to the list of allowed users.
  15. Click Save.

Connect to Server via FTP

Finally, you’ll use the client computer to connect via FTP on the server.

  1. On your Mac OS X computer, switch to the Finder, and choose Go > Connect to Server.
  2. Type and click Connect.
  3. Authenticate as student3 (password: network) and click Connect.
  4. Because the SACL you just created for the FTP service does not include student3, you will see an error. The authentication may have succeeded, but the authorization to use the FTP service failed, and you should see a message that you entered an invalid user name or password. Click OK.
  5. Authenticate as student1 (password: network) and click Connect.

    A Finder window should appear with the share points that are available via the FTP service.

    Note which folders you have access to in the mounted share point.

  6. Unmount the FTP volume from your client computer: Close the Finder window that just appeared, then click eject next to your server in the sidebar.

Although it can be useful to restrict connections per service group user, it will interfere with future exercises.

  1. On your Mac OS X computer, open Server Admin and authenticate if necessary.
  2. Select your server.
  3. Click the Access tab, and do the following:
    • Select the “Allow all users and groups” option.
    • Select the “For all services” option.
  4. Click Save.
  • + Share This
  • 🔖 Save To Your Account