Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2008 19:23:41 +0200
From:      cloud <cloud@madpowah.org>
To:        freebsd-jail@FreeBSD.org
Subject:   Re: Acces to apache log.
Message-ID:  <485A961D.3060701@madpowah.org>
In-Reply-To: <485A87B1.7020509@gmail.com>
References:  <20080619154704.GA89585@pcjas.obspm.fr> <485A87B1.7020509@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>   





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485A961D.3060701>