tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* cleaning up utmp/wtmp
@ 1997-05-29 13:01 George Gallen
  0 siblings, 0 replies; only message in thread
From: George Gallen @ 1997-05-29 13:01 UTC (permalink / raw)
  To: tru64-unix-managers


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  

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-05-29 13:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-05-29 13:01 cleaning up utmp/wtmp George Gallen

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