From owner-freebsd-jail@FreeBSD.ORG Thu Jun 19 19:45:28 2008 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 212A1106566B for ; Thu, 19 Jun 2008 19:45:28 +0000 (UTC) (envelope-from cloud@madpowah.org) Received: from smtp20.orange.fr (smtp20.orange.fr [193.252.22.29]) by mx1.freebsd.org (Postfix) with ESMTP id C768C8FC15 for ; Thu, 19 Jun 2008 19:45:27 +0000 (UTC) (envelope-from cloud@madpowah.org) Received: from smtp20.orange.fr (mwinf2017 [172.22.130.117]) by mwinf2015.orange.fr (SMTP Server) with ESMTP id 8E8131C1F2FB for ; Thu, 19 Jun 2008 19:23:30 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2017.orange.fr (SMTP Server) with ESMTP id 798C61C000A5 for ; Thu, 19 Jun 2008 19:23:29 +0200 (CEST) Received: from [192.168.1.10] (ABayonne-257-1-32-192.w90-55.abo.wanadoo.fr [90.55.255.192]) by mwinf2017.orange.fr (SMTP Server) with ESMTP id 3F1101C0009F for ; Thu, 19 Jun 2008 19:23:29 +0200 (CEST) X-ME-UUID: 20080619172329258.3F1101C0009F@mwinf2017.orange.fr Message-ID: <485A961D.3060701@madpowah.org> Date: Thu, 19 Jun 2008 19:23:41 +0200 From: cloud User-Agent: Thunderbird 2.0.0.14 (X11/20080617) MIME-Version: 1.0 To: freebsd-jail@FreeBSD.org References: <20080619154704.GA89585@pcjas.obspm.fr> <485A87B1.7020509@gmail.com> In-Reply-To: <485A87B1.7020509@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Acces to apache log. X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2008 19:45:28 -0000 On my server with jails, I have changed the error-log directive of Apache to send logs in an other jail which is listening with syslog and it works fine. Then you have just to create an acces in this jail. albinootje wrote: > Albert Shih wrote: > > Hi, > > >> I'm using FreeBSD with jail. On those jail I'm running apache and tomcat >> (not apache/tomcat, but apache and tomcat not in same jail of course). >> >> Now my user (developper team) want to have access to tomcat log and apache >> log for debugging. >> >> I really prefer to not grant ssh access to my developper (the code is push >> with subversion). >> >> How can I do that ? Make the acces to apache-log and tomcat-log (or anything log) >> to my users ? >> > > If I was in the same situation i would make another jail just to provide > the log-files > with read-only "nullfs" mounts for that person. > > Or use for that user scponly with chroot option as shell, which is a > little bit more work, > and then again use nullfs to mount the logfile directories for that user. > > Good luck! > > Kind regards, > Albi. > > _______________________________________________ > freebsd-jail@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to "freebsd-jail-unsubscribe@freebsd.org" >