home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
- From: probreak@matt.ksu.ksu.edu (James Michael Chacon)
- Newsgroups: comp.os.linux
- Subject: Re: Phantom file invades /etc
- Date: 5 Jan 1993 09:32:21 -0600
- Organization: Kansas State University
- Lines: 21
- Message-ID: <1ic9m5INNodg@matt.ksu.ksu.edu>
- References: <649.1189.uupcb@satalink.com>
- NNTP-Posting-Host: matt.ksu.ksu.edu
-
- john.will@satalink.com (John Will) writes:
-
- >I have developed a somewhat mysterious problem with Linux, specifically
- >a mystery growing file! :-( A binary file appears in my /etc directory
- >named wtmp, and it's continuously growing. It's also flagged by fsck
- >as a problem, that's how I spotted it. The whole system is very slow,
- >obviously because of this phantom file I can't seem to figure out.
- >Booting from a previous kernel on a floppy didn't fix anything, so
- >I'm kinda stuck. What in the world is going on, and how do I fix it?
- >I tried deleting the file, but it gets recreated. Where is it coming
- >from? HELP!
- >
-
- This is a log file that login adds onto whenever someone logs in and out.
-
- I just have a cron job that archives mine once a month along with some other
- important logs (like /var/adm/...). It can't be that big, but you could
- just put a rm -rf /etc/wtmp in your /etc/rc file to erase it on bootup.
-
- James
-
-