tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: George Gallen <ggallen () slackinc ! com>
To: tru64-unix-managers
Subject: cleaning up utmp/wtmp
Date: Thu, 29 May 1997 13:01:00 +0000	[thread overview]
Message-ID: <96078612210701.tru64-unix-managers.marc@archive.invalid> (raw)


How do I reset the utmp/wtmp/lastlogin/pacct cleanly?

I want to start the accounting fresh. What what I read in the man's just
making new files is all that is needed (or thats how I read it). I rm +   
touched
new files, everything seemed like it was working fine, util I did a "w",   
which
only showed me the users that were logged on SINCE I reset the wtmp. and
when anyone would log off their process became zombied, After a reboot
everything was back to normal(?).

To avoid rebooting in the future, (I'm mostly only concerned with keeping   
1
to 2 months worth of login information) How does one reset the log files   
and
still keep the "w" command seeing everyone who is logged in, as well as   
not
having their processes become zombied?

George Gallen
ggallen@slackinc.com  

                 reply	other threads:[~1997-05-29 13:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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