From owner-freebsd-questions Mon Aug 20 19:32:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail5.nc.rr.com (fe5.southeast.rr.com [24.93.67.52]) by hub.freebsd.org (Postfix) with ESMTP id 7ACA637B405 for ; Mon, 20 Aug 2001 19:32:36 -0700 (PDT) (envelope-from bts@babbleon.org) Received: from i8k.babbleon.org ([66.26.62.201]) by mail5.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Mon, 20 Aug 2001 22:32:30 -0400 Content-Type: text/plain; charset="iso-8859-1" From: Brian T.Schellenberger To: "Shannon Wheeler" , Subject: Re: user management Date: Mon, 20 Aug 2001 22:32:21 -0400 X-Mailer: KMail [version 1.2] References: <002d01c129ce$b9545c80$0d00a8c0@mshome.net> In-Reply-To: <002d01c129ce$b9545c80$0d00a8c0@mshome.net> MIME-Version: 1.0 Message-Id: <01082022322104.00565@i8k.babbleon.org> Content-Transfer-Encoding: 8bit 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 On Monday 20 August 2001 19:20, Shannon Wheeler wrote: > OK, I hate to bug you people but... > > I want to create a user and allow him ftp access to a specific directory > (/usr/local/www/data/userspage) > > I can make a symbolic link to that directory under the user's home > directory - is this the best way to do this? Why not just set his home directory to that location in the passwd file? > What should I set the user's login shell to? He doesn't need to log in if you only want him to ftp, so just disable logging in but enable ftp access. I think that /dev/null would work so long as you add it to /etc/shells. > and > How do I limit the user's access to only that directory? You add te user to /etc/ftpchroot You know, I didn't know the answers to any of these questions 10 minutes ago (except for the one about the home directory); I just did "man ftpd" to find out. You might want to try this sort of strategy next time before you post. > > thank you, > Shannon > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work) Brian, the man from Babble-On . . . . bts@babbleon.org (personal) --------------------> Free Dmitry Sklyarov! <------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message