I tried this in /etc/login.conf

:ftp-dir=/var/www/htdocs/%u:\
:ftp-chroot=1:\
:tc=auth-ftp-defaults:

and cap_mkdb /etc/login.conf
Test it, the chroot is not possible, the "%u" is not accepted.

Any idea?


Le 2012-05-07 16:17, Wesley a C)critB :
Hi,

Is it possible to tell ftpd to chroot in /var/www/htdocs/%u ? (doesn't work)
I need ftp for multiple folders located in /var/www/htdocs/*

Thank you very much.

Wesley.

Reply via email to