From owner-freebsd-questions@FreeBSD.ORG Wed Jul 18 13:25:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BB2D716A405 for ; Wed, 18 Jul 2007 13:25:14 +0000 (UTC) (envelope-from andrewgould@yahoo.com) Received: from web35304.mail.mud.yahoo.com (web35304.mail.mud.yahoo.com [66.163.179.98]) by mx1.freebsd.org (Postfix) with SMTP id 6E30C13C46B for ; Wed, 18 Jul 2007 13:25:14 +0000 (UTC) (envelope-from andrewgould@yahoo.com) Received: (qmail 57907 invoked by uid 60001); 18 Jul 2007 13:25:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=XIDNS3FK9h2zvvoL79qpsXtubaQjvqjetVcsQU/hvkFljo0l9PDnlbwgZZRLp0S9I1PD18fKZOJtKMmKw27e9giC8z9Oc16xR59doD3hrn3R6HCPPSlVum31AU5nvGC76jbvx17RReH+PdXtu3Goc4oACi9yoNUs90UdYnYdrWw=; X-YMail-OSG: IZYVe_sVM1khaDiH7tn621oTNCZavOrKMNxRqEchT3HpFssI Received: from [204.115.94.51] by web35304.mail.mud.yahoo.com via HTTP; Wed, 18 Jul 2007 06:25:13 PDT X-Mailer: YahooMailRC/651.41 YahooMailWebService/0.7.41.16 Date: Wed, 18 Jul 2007 06:25:13 -0700 (PDT) From: Andrew Gould To: "Gollapati, Kishore \(GE Indust, ES Europe, consultant\)" , freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Message-ID: <803545.57859.qm@web35304.mail.mud.yahoo.com> Cc: Subject: Re: creating ftp users! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jul 2007 13:25:14 -0000 > ----- Original Message ---- > From: "Gollapati, Kishore (GE Indust, ES Europe, consultant)" > To: freebsd-questions@freebsd.org > Sent: Wednesday, July 18, 2007 7:22:43 AM > Subject: creating ftp users! > > Hi > > I am using windows 2003 server. I want to limiting ftp users to their respective home dir. i have seen your reply > > "You can do this simply by creating a file /etc/ftpchroot and putting all the usernames in there. " > > Can you please tell more on this > > Regards > Kishore > _____________________________________________ Step 1. Replace the operating system on the server (Windows Server 2003) with FreeBSD 6.2. During the installation, select the option to activate inetd and uncomment the ftp line in /etc/inetd.conf. Step 2. Login as root and create your users using the command 'adduser'. Step 3. Using a text editor, such as vi, create the file /etc/ftpchroot and add each user name on its own line. Best of luck, Andrew L. Gould