File: README.MacOS-X

package info (click to toggle)
pure-ftpd 1.0.47-3
  • links: PTS
  • area: main
  • in suites: buster
  • size: 3,212 kB
  • sloc: ansic: 29,132; sh: 1,632; makefile: 500; perl: 280
file content (40 lines) | stat: -rw-r--r-- 1,004 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40


     ------------------------ OSX SPECIFIC NOTES ------------------------

The easiest way to install Pure-FTPd is to use Homebrew:

$ brew install pure-ftpd

Available options are:

--with-mysql
	Build with mysql support
--with-postgresql
	Build with postgresql support
--with-virtualchroot
	Follow symbolic links even for chrooted accounts


To get Pure-FTPd authenticate against system users on OSX, you have to
use PAM.
       
$ ./configure --with-pam <your other favorite options like --with-everything>
$ make install-strip

  Create a /etc/pam.d/pure-ftpd file:
 
# pure-ftpd: auth account password session
auth       required       pam_opendirectory.so
account    required       pam_permit.so
password   required       pam_deny.so
session    required       pam_permit.so

  Start the FTP server:

$ /usr/local/sbin/pure-ftpd -lpam -B
 

To take advantage of Bonjour, please add --with-bonjour to ./configure
switches and give the server a Bonjour service name with the -v (--bonjour=)
switch.