From owner-freebsd-questions@FreeBSD.ORG Thu Aug 16 19:55:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3058D1065672 for ; Thu, 16 Aug 2012 19:55:34 +0000 (UTC) (envelope-from jeff.t@mail.com) Received: from mailout-us.mail.com (mailout-us.mail.com [74.208.122.35]) by mx1.freebsd.org (Postfix) with SMTP id EB20E8FC08 for ; Thu, 16 Aug 2012 19:55:33 +0000 (UTC) Received: (qmail invoked by alias); 16 Aug 2012 19:55:32 -0000 Received: from unknown (EHLO blazon-pc.runningwild.local) [78.84.105.231] by mail.gmx.com (mp-us009) with SMTP; 16 Aug 2012 15:55:32 -0400 X-Authenticated: #76218138 X-Provags-ID: V01U2FsdGVkX19YZzZfowxYx/IuOpvSUGg8OR8oitofZQ+vXuZWHo Is+OyR+++at5EX Message-ID: <502D5032.4010801@mail.com> Date: Thu, 16 Aug 2012 22:55:30 +0300 From: Jeff Tipton User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <201208162051.AA214893042@mail.Go2France.com> In-Reply-To: <201208162051.AA214893042@mail.Go2France.com> X-Y-GMX-Trusted: 0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: can a jail have link to outside of the jail? 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: Thu, 16 Aug 2012 19:55:34 -0000 On 08/16/2012 21:51, Len Conrad wrote: > I have an ssh user who needs only to search some log files not in his jail. The jail required because I don't want the user seeing the rest the machine. If the dirs were linked to his jail, would that work? > > What I'd really like is something like ftpchroot for but ssh. > > suggestions? > > Len > > > _______________________________________________ > 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" It's not clear from what you are writing whether you mean JAIL(8) (a secure, virtual FreeBSD OS on top of host OS) or chrooted directories. Anyway, ssh can be set up very easily to have some chrooted sftp users. Read this: https://calomel.org/sftp_chroot.html You will probably have to think about where to place the log directory it if it's important to have no other logs in it. -Jeff