From owner-freebsd-questions@FreeBSD.ORG Mon Sep 25 06:27:41 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 966E716A407 for ; Mon, 25 Sep 2006 06:27:41 +0000 (UTC) (envelope-from matt@atopia.net) Received: from saturn.atopia.net (saturn.atopia.net [72.36.141.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5544E43D45 for ; Mon, 25 Sep 2006 06:27:41 +0000 (GMT) (envelope-from matt@atopia.net) Received: by saturn.atopia.net (Postfix, from userid 1003) id D11024AC45; Mon, 25 Sep 2006 02:27:40 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by saturn.atopia.net (Postfix) with ESMTP id CDEAA4AC43; Mon, 25 Sep 2006 02:27:40 -0400 (EDT) Date: Mon, 25 Sep 2006 02:27:40 -0400 (EDT) From: Matt Juszczak To: Marwan Sultan In-Reply-To: Message-ID: <20060925022702.T55176@saturn.atopia.net> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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: Mon, 25 Sep 2006 06:27:41 -0000 Well... If there was an easy way to restrict users to their home directories using SCP or SCPONLY, I would love that instead. I don't really feel like installing an FTP server just so users can connect to my server when they are already used to using sftp-server. Is there anyway? -Matt On Sun, 24 Sep 2006, Marwan Sultan wrote: > 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/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > !DSPAM:4517000f901501537419863! >