Displaying 2 results from an estimated 2 matches for "wmtp".
Did you mean:
wmp
2009 Jun 12
1
Btmp and Wmtp log rotate
IN the /var/log/ folder there are two files
WTMP and BTMP
BTMP is getting huge after a year, about 800MB, WTMP is getting close to
1MB.
In the /etc/logrotate.conf I see this
--------------------
# no packages own wtmp -- we'll rotate them here
/var/log/wtmp {
monthly
minsize 1M
create 0664 root utmp
rotate 1
}
-------------------
I can see where WTMP will probably rotate
1998 Aug 13
0
summary of replies to [strange stuff in 'last' command]
...6 is different from the
format used in libc5 (which forked off glibc1 long time ago)
this is not a real security issue (but it could have security
ramifications like any other problem)
your wtmp seems to be corrupted (mixed formats), the easiest "fix" is to
erase the contents of /var/log/wmtp (the proper remedy would be to
separate a part in the old format and the part in the new format, and
convert the old part into the new format but)
but before changing any files, make sure all programs using utmp and
wtmp
(last, who, w, login, xterm...) are based on glibc2 (ldd program)