home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / hp / 14108 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.2 KB

  1. Path: sparky!uunet!olivea!spool.mu.edu!sdd.hp.com!col.hp.com!fc.hp.com!rodean
  2. From: rodean@fc.hp.com (Bruce Rodean)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: wtmp, btmp getting to big !!!
  5. Message-ID: <BzBqrs.Low@fc.hp.com>
  6. Date: 15 Dec 92 23:33:28 GMT
  7. References: <9235110.26727@mulga.cs.mu.OZ.AU>
  8. Sender: news@fc.hp.com (news daemon)
  9. Organization: Hewlett-Packard Co., Fort Collins, CO
  10. Lines: 18
  11. X-Newsreader: TIN [version 1.1.8 PL6]
  12.  
  13. Minh Tran (minh@lis.rch.unimelb.edu.au) wrote:
  14. >       Is there way to delete entries in wtmp, btmp, they are really
  15. >       chewing up space, thanks.
  16.  
  17. You can use /usr/lib/acct/fwtmp (read the manual entry) to convert the
  18. files into ASCII, then edit them normally, and restore them back using
  19. fwtmp again.  If you don't wish to preserve any of the data in them,
  20. then they can be safely truncated (i.e. '> /etc/btmp' for example).  Of
  21. course I might want to check out why /etc/btmp is getting large.  It
  22. contains records of failed login attempts.
  23.  
  24. --
  25. Bruce Rodean                          Hewlett-Packard Company
  26. rodean@fc.hp.com
  27.  
  28. This does not reflect the official position of Hewlett-Packard Company
  29. in any way, shape or form.  Everyone else in the company may disagree
  30. with what I say.
  31.