which ftp server for virtual domains or multiple chroots
I've been looking around for an ftp server that can chroot people the way i want to. Each one seems to be able to chroot people into their home directory.
This is fine, but I don't want each user to have a real account on the box. If I make one real username for ftp, and then user virtual usernames, they all get chrooted to same location (of the homedir of that real ftpuser).
How can I do either of the following. (preferably all usig the same real userid)
1. based on the hostname used to connect, I would like to chroot to a different directory and use a different passwd file.
ie: chroot to /var/virtual/site1.domain.tld/ftp/ using /var/virtual/site1.domain.tld/passwd_ftp
2. have it chroot to a different place per user.
user joe#site1.domain.tld chroots to /var/virtual/site1.domain.tld/ftp/
Is vsftpd the best route? or is there something better (security is 1st priority).
I'd rather one user not even know the existance of another user.
Does anyone point me in the right direction?
|All times are GMT -5. The time now is 07:36 PM.|