Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Aug 2006 14:24:22 -0600
From:      "James Earl" <james@icionline.ca>
To:        freebsd-questions@freebsd.org
Subject:   ftpd.conf chroot not working
Message-ID:  <7039ada60608241324r122c6212l3795361080b2be1a@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7039ada60608241324r122c6212l3795361080b2be1a>