From owner-freebsd-questions Tue Jul 6 1:14:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from localhost.micasa.com (du-fr0-0134.freesurf.fr [212.43.207.134]) by hub.freebsd.org (Postfix) with SMTP id 228B414E78 for ; Tue, 6 Jul 1999 01:14:17 -0700 (PDT) (envelope-from daniel@anakine.com) Received: (qmail 3480 invoked by uid 33); 6 Jul 1999 09:41:05 -0000 Date: Tue, 6 Jul 1999 11:41:05 +0200 From: Daniel Garcia To: Dana Huggard Cc: freebsd-questions@freebsd.org Subject: Re: Chrooted User login'able ftpd Message-ID: <19990706114105.A2494@anakine.com> References: <378164A6.43580495@etoile.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <378164A6.43580495@etoile.net>; from daniel@anakine.com on Mon, Jul 05, 1999 at 07:06:30PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jul 05, 1999 at 07:06:30PM -0700, Dana Huggard wrote: > I would like to setup the ftpd so that when a user logs in with an ftp > session they are locked into the their home directory. So that when they > do a "cd /" they are in $HOME. Looking into it I think I want to use > the ftpaccess file but this doesn't seem to work. Is there a document > someone could point me at to do this? I assume there is, and probably > even read it once. :) Hi, I think after putting "guest" allowing on ftpaccess, you should write a line in /etc/passwd like: toto:*:1000:1000:toto:/home/toto/./:/bin/false ^^^ and /bin/false should be listed in /etc/shells I've used this with wu-ftpd, aI don't know with the others though... Hope it helps Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message