Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2006 09:42:25 -0700 (PDT)
From:      Ted Johnson <whatawonderfulworldweliveintoo@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Where Are All These Files Located?
Message-ID:  <20060904164225.89454.qmail@web58410.mail.re3.yahoo.com>

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



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