ftpchroot

Richard Jones richard at jonze.com
Wed Jul 9 08:32:31 PDT 2003


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


More information about the freebsd-questions mailing list