Re: /var/log/wmtmp

2000-05-31 Thread David Wright
Quoting John F. Davis ([EMAIL PROTECTED]):
 Hello

Hi. Can you send rather than replying, as you've actually threaded
onto an off-topic subject.

 I have a huge /var/log/wmtmp file and I need to delete it in order
 to get some free disk space.

I take it that's wtmp. S'funny, mine's rotated already.

 Can I just delete the file?  Is there a way to clear it correctly?

You could run the appropriate command that you will find in
/etc/cron.monthly/standard which your system may or may not
be getting run automatically.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



RE: /var/log/wmtmp

2000-05-31 Thread Smith, Martin
You can also manually clear wtmp or any file with:

   cat /dev/null  {filename}

this will preserve the file's permissions, id's, etc.


-Original Message-
From: David Wright [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 31, 2000 1:01 PM
To: John F. Davis
Cc: debian user mailing list
Subject: Re: /var/log/wmtmp


Quoting John F. Davis ([EMAIL PROTECTED]):
 Hello

Hi. Can you send rather than replying, as you've actually threaded
onto an off-topic subject.

 I have a huge /var/log/wmtmp file and I need to delete it in order
 to get some free disk space.

I take it that's wtmp. S'funny, mine's rotated already.

 Can I just delete the file?  Is there a way to clear it correctly?

You could run the appropriate command that you will find in
/etc/cron.monthly/standard which your system may or may not
be getting run automatically.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.


-- 
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] 
/dev/null