Alright, I'm trying to replicate a web hosting company's basic setup here by authenticating virtual users via SQL and redirect/jail them to their directory. I've accomplished most of the goals here, with the exception of redirect/jailing them to their directory.
The directories are stored in /home/ftp
and that's what DefaultRoot
is set to. I want each individual user to have and be jailed into their own directory. It doesn't appear that setting homedir
in SQL has any effect. Upon logging into FTP with any user, it logs into the DefaultRoot
with no directory jailing or redirect.
How do I accomplish this last task?