[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bugtraq
Subject:    Another tmpfile problem
From:       Antti Andreimann <anttix () cyberix ! edu ! ee>
Date:       1996-12-28 2:18:58
[Download RAW message or body]

Hi everybody !

There is a program called chklogs out there . Written by D. Emilio Grimaldo T.
(root@panama.iaehv.nl)
It's a pretty nice perl script that uses a config file for archiving or
taking other actions on logfiles if theyr size exesses a predefined
limit .
I used it since today , when I found a lame tempfile bug in it .
when called with -m switch (usually from crontab) it will mail the results to
administrator . /tmp/chklogs.out is used to compose a message .
So the program will gladly overwrite any file in the system .
I hate tempfiles !!!!!
FIX: Do not call chklogs with -m option or don't use it at all.

--
 =======================================================================

            \||||||||||/                    Antti Andreimann
          \||||||||||||||/                  nickname: Cyber
       \|||||||||||||||||\                  anttix@cyberix.edu.ee
       /||||||||||||||||0\__@     ______
       /|||||||||||||||||__/     (______)   Redistibution via Microsoft
        \||||||||||||||||/          {}      Network is prohibited.
(c)siil    L L       L L           _||_
 =======================================================================

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic