running:HP-UX B.11.23 U ia64
It appears that no new logins have been logged since Dec 2007. /var/adm/wtmps file is huge. I'm assuming its size is the problem.
-rw------- 1 root other 0 Apr 21 14:12 btmp
-rw------- 1 root other 1053726540 Apr 22 10:23 btmps
-rw-rw-r-- 1 adm adm 240 Apr 22 09:11 wtmp
-rw-rw-r-- 1 adm adm 2147483647 Dec 12 2007 wtmps
-rw-r--r-- 1 root sys 280 Feb 8 01:39 wtmpx
Can I fix by just cat /dev/null > /var/adm/wtmps?
What is the /var/adm/wtmp file?
What is the best way to archive these files - just a copy command and then tar up the copy?
Can I assume whatever you say is also true for btmps and btmp respectively?