Re: How to clear solaris wtmp file?

Stephen T. McKenna (stmckenna@amoco.com)
Wed, 1 May 1996 10:44:27 -0500

> I tried using the same method to clear wtmp after monthly bookeeping on
> our new solaris system
> as I was using on our sun using SunOs, (cat /dev/null > /var/adm/wtmp) and
> it does not seem
> to work. Any suggestions. Thanks.

Are you using the Unix accounting system? If not, you can simply remove or
rename wtmp, and also wtmpx, which is even larger. The system will not
create them if they don't already exist.

---------------------------------------------------------------
Steve McKenna stmckenna@amoco.com
Amoco Corporation
P. O. Box 3011, M/S F-9 voice: 708-961-7846
Naperville, IL 60566 fax: 708-420-5252
---------------------------------------------------------------