ftpd.conf chroot not working

James Earl james at icionline.ca
Thu Aug 24 20:24:27 UTC 2006


I'm having problems getting the /etc/ftpd.conf chroot command to work.
 However, if I append a directory after the username in /etc/ftpchroot
that does work.  It seems like ftpd.conf isn't even getting used.  The
reason I want to use ftpd.conf is it supposidly allows the use of
escape strings such as %u for username.  The machine is running
6.0-RELEASE.

(doesn't work)
ftpd.conf:
chroot all /usr/local/www/apache22/data/%u
ftpchroot:
@client

(does work)
ftpd.conf:
#empty
ftpchroot:
@client /usr/local/www/apache22/data/usersite

James


More information about the freebsd-questions mailing list