How to configure ProFTP server...
Posted on 2003-11-25
I want to set up an FTP server on my Redhat 9 server. Looking around, I've seen many posts stating that ProFTP is the way to go. Correct me if you think differently. I've installed the ProFTP package via Synaptic and have it running. I can connect to it with a FTP client, but now I want to configure it to my needs. However, I'm a bit confused looking through the /etc/proftpd.conf file. I've installed Webmin and have tried to configure ProFTP through its module, but I'm still a little confused on how best to set this thing up.
1. I'll probably have 5 - 10 users, with no anonymous access. Do I have to create Linux user accounts for these accounts, or does ProFTP have its own user database that I can maintain?
2. Currently when I login with an FTP client with my Linux user account (not root), I see my home directory, including hidden files. I want the FTP home directory to be on a second drive I've installed (/mnt/datadisk/ftpdata) rather than the Linux users home directory. And users are LOCKED into this folder, and with no way to access other system files. Different users will have access to different folders on this drive. Some will have access to all, and others only have access to one or two.
3. Security is also a big concern. From my experience FTP servers are easily hacked, I don't want mine to get hacked!
I'm migrating everything I have from Windows to Linux... help me if you can!