From owner-freebsd-questions@FreeBSD.ORG Mon Sep 25 12:15:10 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 85BE516A47E for ; Mon, 25 Sep 2006 12:15:10 +0000 (UTC) (envelope-from tgouverneur@be.tiauto.com) Received: from smtp.eu.tiauto.com (smtp.eu.tiauto.com [195.127.176.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id F370C43D49 for ; Mon, 25 Sep 2006 12:15:07 +0000 (GMT) (envelope-from tgouverneur@be.tiauto.com) Received: by euex01.resource.tiauto.com with Internet Mail Service (5.5.2657.72) id ; Mon, 25 Sep 2006 14:14:56 +0200 Message-ID: From: "Gouverneur, Thomas" To: "'freebsd-questions@freebsd.org'" Date: Mon, 25 Sep 2006 14:14:46 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain 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 12:15:10 -0000 Have a look to: http://www.pizzashack.org/rssh Regards, -- Thomas Gouverneur Junior UNIX Administrator TI Automotive -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Matt Juszczak Sent: lundi 25 septembre 2006 8:28 To: Marwan Sultan Cc: freebsd-questions@freebsd.org Subject: Re: Restricting access to home directory 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! > _______________________________________________ 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" The information contained in this transmission may contain privileged and confidential information. It is intended only for the use of the person(s) named above. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.