From owner-freebsd-questions@FreeBSD.ORG Sun Sep 24 19:26:59 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 3557716A40F for ; Sun, 24 Sep 2006 19:26:59 +0000 (UTC) (envelope-from albi@scii.nl) Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8477A43D5E for ; Sun, 24 Sep 2006 19:26:52 +0000 (GMT) (envelope-from albi@scii.nl) Received: from aseed.demon.nl ([83.160.138.119]:22459 helo=http.aseed.net) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1GRZcp-000NCE-Hu; Sun, 24 Sep 2006 19:26:51 +0000 Received: from amandla (217-19-30-147.dsl.cambrium.nl [217.19.30.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by http.aseed.net (Postfix) with ESMTP id 42B5258297; Sun, 24 Sep 2006 21:27:04 +0200 (CEST) Date: Sun, 24 Sep 2006 21:26:50 +0200 From: albi To: Matt Juszczak Message-Id: <20060924212650.e5f20531.albi@scii.nl> In-Reply-To: <20060924150810.H68311@saturn.atopia.net> References: <20060924150810.H68311@saturn.atopia.net> X-Mailer: Sylpheed version 2.2.4 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 19:26:59 -0000 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. and what do you mean "can't seem to get it working" ? with scponly you also have a chroot-option, if your user is the only scponly user, then the top-dir in the chroot-scponly setup could be his home-dir (disclaimer, i've successfully used scponly, but only read documentation about chroot-scponly, not used that yet) -- grtjs, albi