From owner-freebsd-questions Mon Feb 11 13:13:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dialup.ptt.ru (dialup.ptt.ru [195.34.0.100]) by hub.freebsd.org (Postfix) with SMTP id 58E8A37B417 for ; Mon, 11 Feb 2002 13:13:28 -0800 (PST) Received: (qmail 18382 invoked from network); 11 Feb 2002 21:25:27 -0000 Received: from unknown (HELO h) (195.42.81.146) by 0 with SMTP; 11 Feb 2002 21:25:27 -0000 Message-ID: <002601c1b342$60e63e80$92512ac3@hosting.ru> From: "Aleksey I. Yurlov" To: =?iso-8859-1?Q?S=F8ren_Neigaard?= , References: <575049630.20020211220241@e-box.dk> Subject: Re: FTP rights Date: Tue, 12 Feb 2002 00:23:41 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 Both answers depends of your current ftp server. 1. If you mean build-in ftpd to chroot user homes you got to add usernames in /etc/ftpchroot file and reconnect by this user. man ftpd(8) 2. Easist way is to make allow-list in /etc/hosts.allow (there is many examples about it inside them) ----- Original Message ----- From: "Søren Neigaard" To: Sent: Tuesday, February 12, 2002 12:02 AM Subject: FTP rights > 2 questions this time: > > How can I prevent the FTP users to leave their home directory? > > How can I make it so that only a range of IP's can access my FTP > server? > > -- > Med venlig hilsen/Best regards, > Søren Neigaard mailto:neigaard@e-box.dk > -- > "Everything should be made as simple as possible, but no simpler." > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message