From owner-freebsd-questions@FreeBSD.ORG Sun May 16 06:52:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D86216A4CE for ; Sun, 16 May 2004 06:52:47 -0700 (PDT) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A0CE43D46 for ; Sun, 16 May 2004 06:52:46 -0700 (PDT) SRS0=FKQxgi1p=IK=asarian-host.net=admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.11/8.12.11) id i4GDqiE9074461 for freebsd-questions@freebsd.org; Sun, 16 May 2004 15:52:44 +0200 (CEST) (envelope-from admin@asarian-host.net) From: Mark Received-SPF: pass (asarian-host.net: domain of admin@asarian-host.net designates sender IP as SASL permitted sender) Message-Id: <200405161352.I4GDQH1R074444@asarian-host.net> Date: Sun, 16 May 2004 13:52:44 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: ND8xybxzPlp6iFPWyF4vTPo9/q2D43STUlvP6XVGR06QUm70/ycpux8G+VPQCQ18nFTZasWIzYXSHd/j8cSKpA== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers, otherwise we are unable to process your complaint Organization: Asarian-host To: "Sunil Sunder Raj" , References: MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Auth: Asarian-host PGP signature iQEVAwUAQKdyLDFqW1BleBN9AQE+aAf+PEYuw/5cowKKQOsGJahjvl2HVktpd6ZX aWk13U6YB5q5zsikghzoEi8s9oCsZ8UCY/cwdcnz3yOezpgq72aHRFFIwHXfQP33 PcI3cFDSL1k0rxp7ZycaX+Wql4BgHVEdcH+A/2qOHuR7u6sLfpzbi7TYjdnieXZp GaQ4a+e9deoaG9fdlIecJwQZ2Dw6Tms+BITwu0QsZoqAY3COkjw7UcCvUFf+WA+w WntWPdJVuYp7DJ28XzRisWuZgTlygrSkCK9Mr7iMwogbO2bCXfwWB+M5Epvc3OLX vqqnw2bB5ybAHKCpvHdZyG+fwwNyG5VQc3RWj85nfmaJTmVoKzV2rQ== =Ths6 cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD 4.7 Syslogs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 May 2004 13:52:47 -0000 Sunil Sunder Raj wrote: > Hi, > Just give 777 permissions to /var/log/messages With all due respect, but that is rather bad advice. I have been running = syslog on FreeBSD 4.7R for years, without problem; and never ever did I = have to resort to making /var/log/messages world-writeable. Besides, = that is totally unnecessary too: syslogd runs as root, so only root = needs write permissions (and, since it is root, probably not even that). You can run syslogd like this: /usr/sbin/syslogd -s Or something like: /usr/sbin/syslogd -a 192.168.6.0/24 if you need to log from remote machines. Your /etc/syslog.conf should = look something like this: ---------------------------- *.err;kern.debug;mail.crit /var/log/messages *.notice;lpr.info;news.err /var/log/messages security.* /var/log/security mail.info /var/log/maillog ---------------------------- Cheers, - Mark