From owner-freebsd-questions Tue Dec 25 16:23:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from segfault.monkeys.com (246.dsl6660157.rstatic.surewest.net [66.60.157.246]) by hub.freebsd.org (Postfix) with ESMTP id C089237B417 for ; Tue, 25 Dec 2001 16:23:18 -0800 (PST) Received: from monkeys.com (localhost [127.0.0.1]) by segfault.monkeys.com (Postfix) with ESMTP id 6E54E6397 for ; Tue, 25 Dec 2001 16:23:18 -0800 (PST) To: freebsd-questions@freebsd.org Subject: /etc/ftpaccess, chroot, and `guest-root' directive. Date: Tue, 25 Dec 2001 16:23:18 -0800 Message-ID: <39549.1009326198@monkeys.com> From: "Ronald F. Guilmette" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I put the following line into my /etc/ftpaccess file: guest-root ~ but it did not seem to have the desired effect. It fact, it did not seem to have any effect at all. How come? My hope was that this directive, when placed into my /etc/ftpaccess file, would cause each ftp login session to be chroot'd to the home directory of the specific user who had just logged in, but this doesn't seem to be happening. Why not? From the ftpd man page: Ftpd interprets file names according to the ``globbing'' conventions used by csh(1)... Ok, so why isn't it doing the ``globbing'' in the case of the guest-root directive as expected? Anyway, if there is some different way of achieving the desired effect, I would love to be educated about it. I think that it's clear what I want to do... I just want to insure that each and every ftp user is well and truly isolated from all other ftp users (and from the rest of the system). That's not too much to ask, is it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message