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 41 42 43 44 45
|
------------------------ MACOS X SPECIFIC NOTES ------------------------
To get Pure-FTPd authenticate against system users on MacOS X (at least
since version 10.3) you need to use PAM.
$ ./configure --with-pam <your other favorite options like --with-everything>
$ make install-strip
Create a /etc/xinetd.d/ftp file similar to this one:
service ftp
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/local/sbin/pure-ftpd
server_args = -A -E -lpam
groups = yes
flags = REUSE
}
Create a /etc/pam.d/pure-ftpd file:
# pure-ftpd: auth account password session
auth required pam_nologin.so
auth sufficient pam_securityserver.so
auth sufficient pam_unix.so
auth required pam_deny.so
account required pam_permit.so
password required pam_deny.so
session required pam_uwtmp.so
Restart xinetd:
$ kill -HUP $(cat /var/run/xinetd.pid)
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.
|