From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078612210701.tru64-unix-managers.marc@archive.invalid> From: George Gallen Date: Thu, 29 May 1997 13:01:00 +0000 To: tru64-unix-managers Subject: cleaning up utmp/wtmp X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078612210701 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