From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653644221788.tru64-unix-managers.marc@archive.invalid> From: "Liang, Warren" Date: Thu, 20 Dec 2001 23:25:45 +0000 To: tru64-unix-managers Subject: Trim wtmp and utmp files X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653644221788 Hello: Files /var/adm/wtmp and utmp are getting bigger. I trimmed both of them by using the following commands: # cp /var/adm/wtmp /var/adm/wtmp_Nov2001 # cp /dev/null /var/adm/wtmp Then, commands 'who -b' and 'who -r' do not display anything anymore. Since command who accesses wtmp and utmp files, I assume the trimming process must have something to do with the 'who -b'. If it is the reason, what is the correct method to maintain both files in a suitable size and also make 'who -b; who -r' display the proper information? Thanks in advance. O/S: DEC Tur64 V5.0 Warren