Ticket #24750: README.MacOS-X

File README.MacOS-X, 1.3 KB (added by scott@…, 14 years ago)
Line 
1
2
3   ------------------------ MACOS X SPECIFIC NOTES ------------------------
4
5
6  To get Pure-FTPd authenticate against system users on MacOS X (at least
7since version 10.3) you need to use PAM.
8
9  The version you are running, installed by MacPorts, has had the --with-pam
10option enabled at compile time.  To setup pam authentication follow the steps
11below for our OS version.
12       
13For Mac OS X 10.5
14  Create a /etc/pam.d/pure-ftpd file:
15
16# pure-ftpd: auth account password session
17auth       sufficient     pam_securityserver.so
18auth       required       pam_deny.so
19account    required       pam_permit.so
20password   required       pam_deny.so
21session    required       pam_permit.so
22
23For Mac OS X 10.6
24  Create a /etc/pam.d/pure-ftpd file:
25
26# pure-ftpd: auth account password session
27auth       sufficient     pam_opendirectory.so
28auth       required       pam_deny.so
29account    required       pam_permit.so
30password   required       pam_deny.so
31session    required       pam_permit.so
32
33
34  Start the FTP server:
35  - '-l <authentication>' or '-l <authentication>:<config file>': Adds a new
36  rule to the authentication chain. Please read the "Authentication" section,
37  later in this README file. It's an important section.
38  - '-B': Have the standalone server start in background (daemonization).
39 
40$ @PREFIX@/sbin/pure-ftpd -lpam -B