[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] lastlog file gets very big.
- Subject: Re: [cobalt-users] lastlog file gets very big.
- From: josh <josh@xxxxxxxxxxxxxxxxxx>
- Date: Wed Dec 17 19:27:02 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Wed, Dec 17, 2003 at 04:31:45AM -0500, Zeffie wrote:
> > -rw-r--r-- 1 root root 19136220 Dec 14 00:12 /var/log/lastlog
> > [10:09:54:war-admiral:/var/log]lastlog | wc -l
> > 165 10536
> > Is it supposed to be rotated somehow? Why is it large? Is something
> > wrong?
> > Josh Kuperman
>
> yes it should be rotated by logrotate and the best way to see what is in it
> is with last | more
1. I thought that the command 'last' displays the contents of
/var/log/wtmp and that 'lastlog' displays the content of the
lastlog file.
2. The output of both commands, 'last' and 'lastlog' is about 200
lines long, which is to say both last and lastlog should be
relatively small files.
3. /var/log/lastlog is now exactly the same size as it was when I
asked. I think something is broken -- but what?
[22:23:08:war-admiral:~]ls -la /var/log/lastlog
-rw-r--r-- 1 root root 19136220 Dec 17 21:16 /var/log/lastlog
>
> I have seen ftp webcams cause this due to a high amount of logins by the
> cam...
>
> This can fill up your / too
>
> Zeffie
> Cobalt RaQ System Administration, Maintenance and Repairs.
> http://www.zeffie.com/how_to_contact_zeffie.html 734.454.9117
> http://www.zeffie.com/ Home of the Worlds Largest Collection of RaQ rpms
> Advanced Cobalt Security, Firewall, Snort, AntiSpam, AntiVirus and other
> GUI's
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
--
Josh Kuperman
josh@xxxxxxxxxxxxxxxxxx