Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* wtmp
@ 1997-10-27  5:00 Doug Hamilton
  1997-10-28  5:00 ` wtmp Norbert Ferstl
  1997-10-30  5:00 ` wtmp Patrick Mendoza
  0 siblings, 2 replies; 3+ messages in thread
From: Doug Hamilton @ 1997-10-27  5:00 UTC (permalink / raw)



My wtmp file is up to about 80 meg.  I don't use accounting.

Can anyone please tell me how to truncate it?

Thanks
-- 
Doug Hamilton



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wtmp
  1997-10-27  5:00 wtmp Doug Hamilton
@ 1997-10-28  5:00 ` Norbert Ferstl
  1997-10-30  5:00 ` wtmp Patrick Mendoza
  1 sibling, 0 replies; 3+ messages in thread
From: Norbert Ferstl @ 1997-10-28  5:00 UTC (permalink / raw)
  To: Doug Hamilton


Doug Hamilton wrote:
> 
> My wtmp file is up to about 80 meg.  I don't use accounting.
> 
> Can anyone please tell me how to truncate it?
> 
> Thanks
> --
> Doug Hamilton


remove it and no entries will be generated

touch it again with the original permissions and owner
and it will be writte to again

Norbert

-- 
=====================================
Norbert Ferstl
DI Forsthuber GmbH
Kohlbauernstr. 17
A-2630 Ternitz, AUSTRIA
Tel: +43 2630 382500
Fax: +43 2630 3825014
<ferstl@netway.at>
=====================================



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: wtmp
  1997-10-27  5:00 wtmp Doug Hamilton
  1997-10-28  5:00 ` wtmp Norbert Ferstl
@ 1997-10-30  5:00 ` Patrick Mendoza
  1 sibling, 0 replies; 3+ messages in thread
From: Patrick Mendoza @ 1997-10-30  5:00 UTC (permalink / raw)



Doug Hamilton wrote:

> My wtmp file is up to about 80 meg.  I don't use accounting.
>
> Can anyone please tell me how to truncate it?
>
> Thanks
> --
> Doug Hamilton

Perhaps moving the file to /dev/null?




--
                                  -Patrick
    http://home.kudonet.com/~jvc411/welcome.html





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-10-30  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-27  5:00 wtmp Doug Hamilton
1997-10-28  5:00 ` wtmp Norbert Ferstl
1997-10-30  5:00 ` wtmp Patrick Mendoza

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox