Syslog a jail
Ondra Koutek
koutek at o-k.cz
Thu Aug 26 11:01:02 CEST 2004
Diky, to ono. Mam kompletni jaily. Nicmene asi bude lepsi logy drzet mimo
jail uz pro pripad, ze se mi do jailu nekdo naboura.
Ondra
-----Original Message-----
From: users-l-bounces at freebsd.cz [mailto:users-l-bounces at freebsd.cz] On
Behalf Of Jiri
Sent: Thursday, August 26, 2004 10:47 AM
To: FreeBSD mailing list
Subject: Re: Syslog a jail
Zdravim,
Thursday, August 26, 2004, 9:26:13 AM, bylo napsano:
kokc> Jeste bych se zeptal na vase zkusenosti s logovanim v Jailu. Rekneme,
ze
kokc> mam v Jailu Apache a opravdu chci mit logy. Je mi jedno, jestli na
kokc> hostovanem systemu, nebo v jailovem prostredi.
kdyby jsi chtel logovat v hostovanem prostredi logy z jailu tak (popis
z jailovani bindu):
Finally, to enable logging to syslog, we must tell syslogd to listen on an
extra socket, $JAIL/var/run/log, for logging information from our
nameserver. The way to do this permanently is to add the option "-l
/usr/local/jail/var/run/log" to the variable syslogd_flags in /etc/rc.conf.
jirib
P.S: no jste vlastne nespecifikoval jestli mate kompletni jail nebo
jen apache... v kompletnim jailu by to slo i pomoci /etc/syslog.conf
preposilat na syslog s jinou IP.
--
mail: jiri.b at sendmail.cz | jabber: jiri.b at njs.netlab.cz
IRCnet/EFnet/SILCnet: jirib | ICQ: 261273235
GPGfingerprint: 21A1 8E02 CDF0 DCAA B385 A253 EF0C F1CE B618 8EAB
--
FreeBSD mailing list (users-l at freebsd.cz)
http://www.freebsd.cz/listserv/listinfo/users-l
More information about the Users-l
mailing list