From owner-freebsd-questions@FreeBSD.ORG Sun Sep 24 21:59:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 1026016A412 for ; Sun, 24 Sep 2006 21:59:35 +0000 (UTC) (envelope-from dead_line@hotmail.com) Received: from bay0-omc2-s17.bay0.hotmail.com (bay0-omc2-s17.bay0.hotmail.com [65.54.246.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 706E843D53 for ; Sun, 24 Sep 2006 21:59:34 +0000 (GMT) (envelope-from dead_line@hotmail.com) Received: from hotmail.com ([65.54.175.26]) by bay0-omc2-s17.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Sun, 24 Sep 2006 14:59:34 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 24 Sep 2006 14:59:33 -0700 Message-ID: Received: from 65.54.175.200 by by104fd.bay104.hotmail.msn.com with HTTP; Sun, 24 Sep 2006 21:59:32 GMT X-Originating-IP: [62.150.204.60] X-Originating-Email: [dead_line@hotmail.com] X-Sender: dead_line@hotmail.com In-Reply-To: <20060924212650.e5f20531.albi@scii.nl> From: "Marwan Sultan" To: matt@atopia.net Date: Sun, 24 Sep 2006 21:59:32 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 24 Sep 2006 21:59:33.0811 (UTC) FILETIME=[B80F9030:01C6E024] Cc: freebsd-questions@freebsd.org Subject: Re: Restricting access to home directory 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: Sun, 24 Sep 2006 21:59:35 -0000 Hi Matt! If you are talking about givin FTP access only, then the easiest way to do it is just adding the user to the file /etc/ftpchroot and thats all!! if the file does not exist. then create it. add to /etc/ftpchroot all users that you want them to ftp but never see any upper level of shell. have fun, Marwan Sultan System Administrator. >On Sun, 24 Sep 2006 15:09:23 -0400 (EDT) >Matt Juszczak wrote: > > > I would like to give a user access to my box via some kind of FTP but > > restrict him to his home directory. > > > > I have seen scponlyc, which supposedly can do this, but can't seem to > > get it working. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/