Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2003 16:32:26 +0100
From:      Richard Jones <richard@jonze.com>
To:        questions@freebsd.org
Subject:   ftpchroot
Message-ID:  <20030709153226.GA27102@daedalus.jonze.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to get ftpchroot to work and having problems:

In the ftpchroot man page it states that a user (non-anonymous) can be
chrooted by specifying the username and directory as so

user ftp_dir

if there is no leading "/" then the directory is relative to the user's
home directory.

The problem is that "user ftp_dir" works, but "user /home/user/ftp_dir"
does not, giving an error "421 Service not available, remote server has
closed connection". 

There's nothing in syslog or /var/log/xfer.log to indicate why, just
"ftpd exited", and "FTP LOGIN FROM ..."

I'm using FreeBSD-5.1 RELEASE, can anyone help?

Richard Jones
-- 
Richard Jones
http://www.jonze.com



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