OK, I took a look at the man pages for last. With no arguments, it should tell me all logins from the wtmp file. Here is what I get:
# last USER TTY PID TIMEON FROM reboot ~ 0 4845 2.2.19 Figuring it has to do with logins, I also took a look at auth.log (also pretty big). I think the answer is here, but I don't know what to do to fix it. It is full of these. Dec 7 06:45:12 firewall /sbin/getty[11929]: /dev/tty1: cannot open as standard input: Operation not supported by device Dec 7 06:45:13 firewall /sbin/getty[11930]: /dev/tty2: cannot open as standard input: Operation not supported by device My box does not have any serial ports, so is there something I can do to stop it from trying to open them? Thanks, Rich >Message: 5 >Date: Thu, 6 Dec 2001 23:10:32 -0600 >From: David Douthitt <[EMAIL PROTECTED]> >Subject: Re: [Leaf-user] very large /var/log/wtmp >To: LEAF User Mailing List <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] > >On 12/6/01 at 5:38 PM, Richard Burt <[EMAIL PROTECTED]> wrote: > >>I saw a posting a few weeks ago of someone who was >>having this problem. I don't ever remember seeing an >>answer. This is a new clean Dachstein 1.01 >>installation. Been up for just shy of 3 days. >>As you can see my wtmp file is 7.5 MB. Anyone have >>any thoughts? Or what more info should I provide. Thanks. >wtmp is used by the last command (that is -- probaby -- /bin/last); >try it. You might want to check the help for a way to limit the >number of entries to list (I don't remember what it was, but it can be >done). >Then you can see what is filling your wtmp file. >-- >David Douthitt >UNIX Systems Administrator >HP-UX, Unixware, Linux >[EMAIL PROTECTED] _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user
