proftp chroot multiple users
I thought this would be easy but I am having troubles making it happen. I had a single user chrooted like this:
<VirtualHost mydomian.com >
DefaultRoot /home/user1
</VirtualHost>
I now need to add a second user to the server tht is also chrootred. I assumed you would just add another VirtualHost Like:
<VirtualHost mydomian.com >
DefaultRoot /home/user1
</VirtualHost>
<VirtualHost mydomian.com >
DefaultRoot /home/user2
</VirtualHost>
This does not work right. If I ftp in as the first user I am taken to the first users chrooted folder. Now If I ftp in as the second user I am taken the first users folder. I have tried many combos of the above script but nothings works as I need it to. Does someone know how this is done?
Thanks
|