[Pkg-shadow-devel] Strange things with lastlog

Christian Perrier bubulle@debian.org
Thu, 21 Apr 2005 17:04:33 +0200


On a woody machine of mine (critical samba server):

root@bellini:/var/log# ls -l lastlog
-rw-rw-r--    1 root     utmp     289073576 avr 21 16:50 lastlog
root@bellini:/var/log# du -sk lastlog
175     lastlog
root@bellini:/var/log# LC_ALL=C df -k .
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/sda7               396500    179229    196790  48% /var


We found this because someone inadvertently ran "grep something *" in
/var/log and the machine very quickly exhausted its memory, ran out of
resources, and began stopping processes...:-)

I wonder whether this could be related to the various "lastlog"
problems we have found up to now....


--