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 "[EMAIL PROTECTED]"


_______________________________________________
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to