Ideally I'd like something like proftpds ability to do this
DefaultRoot /var/www/whatever/userone/ user1
DefaultRoot /home/directory/whatever/ user2
It's important that this be for virtual users.
ftplinuxvsftpd
Ideally I'd like something like proftpds ability to do this
DefaultRoot /var/www/whatever/userone/ user1
DefaultRoot /home/directory/whatever/ user2
It's important that this be for virtual users.
Best Answer
Yes, it's possible, see my post here:
vsftpd - local_root=/var/www/sites/$USER doesn't get interpreted?
You need to use the per-user config files in order to specify a unique chroot location for them. In your case the per-user config "local_root" will be varying values outside of /var/www/sites/ as required.