Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

FTP, FTP Lion Server

Lion Server does not allow for "easy" FTP configuration. I found an Apple KB document that outlines how to create a FTP Group, User and how to Launch FTP service, via Terminal. However, I need to change the default FTP directory. No KB found other than 10.6 version. Any idea?

Mac OS X (10.7)

Posted on Jul 25, 2011 2:57 PM

Reply
6 replies

Jul 26, 2011 12:44 PM in response to chuckfrompensacola

I am working very hard to try and find this answer myself. As near as I can tell there are some settings in the FTPD.CONF file in the /private/etc directory that make this possible. However, I have not found the magic setting that seems to work.


I at lease found out that the "modify [INSERT USER NAME] all" command seem to give back the Read, Renam, Make DIR, DEL, etc... priviliges.


I did notice that the FTP Server will drop the user in their personal directory if you creat the user as a general user. ( The selection where it creates a directory for them... )


I'll add as soon as I learn more...

Jul 26, 2011 10:12 PM in response to chuckfrompensacola

Why bother with Lion's FTP server which Apple removed the GUI controls. Plain old FTP is not secure. Everything gets transmitted in the clear including passwords.


Why not try Pure-ftpd Manager 1.8 (GUI)? It installs pure-ftpd 1.0.21. However pure-ftpd 1.0.21 has some issues with securing the entire session, but at least encrypts passwords.


This can be corrected after you install Pure-ftpd Manager 1.8(GUI) for Mac by installing pure-ftpd 1.0.32.


Note in order to install pure-ftpd 1.0.32, you'll need to install Xcode for Lion.


Run Terminal


In the Terminal paste this:


find /usr/local -type f -name 'pure-*' | tar -czf pure-ftpd_backup.tgz -T -

curl -O 'http://download.pureftpd.org/pub/pure-ftpd/releases/pure-ftpd-1.0.32.tar.gz'


tar xzf pure-ftpd-1.0.32.tar.gz

cd pure-ftpd-1.0.32

./configure --with-everything --with-tls --with-certfile=/etc/pure-ftpd/ssl/pure-ftpd.pem --sysconfdir=/etc/pure-ftpd/ --with-sysquotas --mandir /usr/local/man --with-pam --with-virtualchroot --with-peruserlimits --with-ldap --with-rfc2640

make

sudo make install-strip

cd ..

rm -r pure-ftpd-1.0.32.tar.gz pure-ftpd-1.0.32




NOTE: ./configure .......... --with-rfc2640 (should be all one line)


Once you compiled this, FTP with SSL/TLS (FTPS) sessions will be secure.


You can download Pure-ftpd Manager 1.8 at

http://jeanmatthieu.free.fr/pureftpd/

FTP, FTP Lion Server

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.