From owner-freebsd-questions@FreeBSD.ORG Mon Sep 4 16:42:30 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 324A616A4DE for ; Mon, 4 Sep 2006 16:42:30 +0000 (UTC) (envelope-from whatawonderfulworldweliveintoo@yahoo.com) Received: from web58410.mail.re3.yahoo.com (web58410.mail.re3.yahoo.com [68.142.236.178]) by mx1.FreeBSD.org (Postfix) with SMTP id AEC3643D58 for ; Mon, 4 Sep 2006 16:42:29 +0000 (GMT) (envelope-from whatawonderfulworldweliveintoo@yahoo.com) Received: (qmail 89456 invoked by uid 60001); 4 Sep 2006 16:42:25 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=1Csw+/x+gveyvguFdXOwA9mcAcCYal78d4/CekWFuOz8OXBubp/HcXYnM9hvmINELlDEMuF7Fh95pChdlYrC2JkpLD+2JN5R5IAQI5R1pS9U2B3ArV8WKNI5E4E9ghynLLNmtPcYn592S1a3BzV+D+1oJsgriZAW5oHJ9yA8Vrg= ; Message-ID: <20060904164225.89454.qmail@web58410.mail.re3.yahoo.com> Received: from [66.82.9.66] by web58410.mail.re3.yahoo.com via HTTP; Mon, 04 Sep 2006 09:42:25 PDT Date: Mon, 4 Sep 2006 09:42:25 -0700 (PDT) From: Ted Johnson To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Where Are All These Files Located? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Sep 2006 16:42:30 -0000 Hi; In installing logcheck, I read the following information: BSD and FreeBSD: You should go to the /etc directory and edit the /etc/daily, /etc/weekly, and /etc/monthly scripts and change the 'rotate()' script function to change the log permissions on rotation. Simply change the line: cp /dev/null "$file"; chmod 644 "$file" To: cp /dev/null "$file"; chmod 600 "$file" (The above is for BSDI 2.x, BSDI 3.x uses an external rotate function now, just change the mode sent to it from 644 to 600 and you'll be OK. FreeBSD will be similiar to the BSDI 2.x script) However, these files do not exist (at least in FreeBSD 6.1). What should I edit instead? Or, what does "just change the mode sent to it" mean? TIA, Ted 2 --------------------------------- Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.