From owner-freebsd-questions Mon Mar 17 12:53:14 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9ED537B401 for ; Mon, 17 Mar 2003 12:53:12 -0800 (PST) Received: from its-mail1.massey.ac.nz (its-mail1.massey.ac.nz [130.123.128.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id F304F43F85 for ; Mon, 17 Mar 2003 12:53:08 -0800 (PST) (envelope-from G.P.Defryn@massey.ac.nz) Received: from its-mm1.massey.ac.nz (its-mm1.massey.ac.nz [130.123.128.45]) by its-mail1.massey.ac.nz (8.9.3/8.9.3) with ESMTP id IAA04828 for ; Tue, 18 Mar 2003 08:53:07 +1200 (NZST) Received: from its-xchg5.massey.ac.nz (Not Verified[130.123.129.15]) by its-mm1.massey.ac.nz with MailMarshal id ; Tue, 18 Mar 2003 08:53:07 +1200 Received: from its-xchg3.massey.ac.nz ([130.123.129.13]) by its-xchg5.massey.ac.nz with Microsoft SMTPSVC(5.0.2195.5329); Tue, 18 Mar 2003 08:55:27 +1200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6334.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: ftp best practices Date: Tue, 18 Mar 2003 08:53:06 +1200 Message-ID: <9EA1E9775D329F4CB45B259FCA43F79F48B1FF@its-xchg3.massey.ac.nz> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ftp best practices Thread-Index: AcLspvWGB2/PUHxjQYKckg5aB5Y6dwAH3Y8Q From: "Defryn, Guy" To: X-OriginalArrivalTime: 17 Mar 2003 20:55:27.0984 (UTC) FILETIME=[8A20AF00:01C2ECC7] 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 am setting up a webserver and I would like some opinions on this. I have created a partition for the sites and create a directory for each site. Then I create a user account and set the website folder as the home directory for that user. The user can now ftp in his directory and upload files. One thing I would like to prevent is the visibility of the config files in the directory. I tried setting the shell to nonexistent but ftp does not seem to allow that. Cheers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message