Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2008 18:22:09 +0200
From:      albinootje <albinootje@gmail.com>
To:        Albert.Shih@obspm.fr
Cc:        freebsd-jail@FreeBSD.org
Subject:   Re: Acces to apache log.
Message-ID:  <485A87B1.7020509@gmail.com>
In-Reply-To: <20080619154704.GA89585@pcjas.obspm.fr>
References:  <20080619154704.GA89585@pcjas.obspm.fr>

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




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