I want to set up two FTP users for my server (Ubuntu 8.04):
- One that logs into /var/www so they can access and administer all the web site files
- One that is chroot'd to (say) /var/www/images so that they can only access the site's images
Ideally I'd like to be able to configure each user's FTP directory separately, something like:
#userid chroot location #-------------------------- webadmin /var/www imageadmin /var/www/images #etc...
Is there a way of doing this with VSFTP? All the examples I can find with virtual users show chrooting with a
I presume I could create a local imageadmin account with a home directory of
/var/www/images and use local logins instead? Is that sensible for an FTP-only user (I guess I could set the shell to null...)?