Re: WTMP file

From: Hambleton, John S. (jhamblet@NMU.EDU)
Date: Thu Apr 03 2003 - 12:03:22 EST


I have been just doing this:
echo " " > wtmp
which clears it out and hasn't done any harm.
It's just a log file.
--JH

At 08:39 AM 4/3/2003 -0800, you wrote:
>A little help please,
>
>I have a production system where the /var/adm/wtmp file has grown huge,
>about 264M, and is filling up /var. I've read the online docs about using
>fwtmp to make an ascii file, editing it, and converting it back. Also read
>about wftpfix command and nulladm. Being somewhat cowardly about trying new
>stuff on production system, I'd like some advice.
>
>What would be a reasonable course to take? Do I need the history contained
>in the wtmp file or can I create an empty file (nulladm wtmp) without major
>issues? If I have to edit the ascii version of the file, what do I edit out
>or leave in? Any known gotchas?
>
>I know the questions are pretty broad, but I would appreciate any guidance.
>
>TIA
>Harold

+ John S. "Dilbert" Hambleton
+ Computer Scientist and Eccentric
+ Olson Library
+ Northern Michigan University
+ Marquette Michigan 49855
+
+ Phone: 906-227-2741
+ E-Mail: JHAMBLET@NMU.EDU
+
+ Ab alio expectes, alteri quod feceris.
+



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:43 EDT