README.MacOS-X 1004 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. ------------------------ OSX SPECIFIC NOTES ------------------------
  2. The easiest way to install Pure-FTPd is to use Homebrew:
  3. $ brew install pure-ftpd
  4. Available options are:
  5. --with-mysql
  6. Build with mysql support
  7. --with-postgresql
  8. Build with postgresql support
  9. --with-virtualchroot
  10. Follow symbolic links even for chrooted accounts
  11. To get Pure-FTPd authenticate against system users on OSX, you have to
  12. use PAM.
  13. $ ./configure --with-pam <your other favorite options like --with-everything>
  14. $ make install-strip
  15. Create a /etc/pam.d/pure-ftpd file:
  16. # pure-ftpd: auth account password session
  17. auth required pam_opendirectory.so
  18. account required pam_permit.so
  19. password required pam_deny.so
  20. session required pam_permit.so
  21. Start the FTP server:
  22. $ /usr/local/sbin/pure-ftpd -lpam -B
  23. To take advantage of Bonjour, please add --with-bonjour to ./configure
  24. switches and give the server a Bonjour service name with the -v (--bonjour=)
  25. switch.