Where Are All These Files Located?

Ted Johnson whatawonderfulworldweliveintoo at yahoo.com
Mon Sep 4 09:42:30 PDT 2006


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.


More information about the freebsd-questions mailing list