10.3: A fix for proftpd not allowing user login

Nov 03, '03 09:59:00AM

Contributed by: apacor

This is a hint on making the proftpd ftp server work on Panther. I use it because it allows me to lock users in their home directory, whereas with the ftp server that comes with the system, a user can roam the whole directory tree (except for other users' home folders). I installed proftpd and configured it as I had with Jaguar, using the following instrucitons on macosXhints (Hint #1, Hint #2). Remember to set the user and group for proftpd to "root" and "wheel". The sever did work but would not allow users to login. If this happens, all you need to do is open a terminal and then type:

 % cd /etc/pam.d
 % sudo cp ftpd ftp
This will copy the ftpd file and name the copy ftp. Restart the server from the Sharing preferences panel and it should all work. It has for me.

[robg adds: I haven't verified this one yet ... and according to this hint, ftpchroot should now work to lock FTP users into their home directories even with the stock FTP server.]

Comments (6)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20031030113112429