[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: "last" in my Redhat did not work like Solaris last (also set it up to capture 35days data)



The last should be in your Linux too.


last

last -f /var/log/wtmp

edit the logrotate to set the corret days you need.

[]s
Marcos




On Thu, Aug 7, 2008 at 5:10 AM, sunhux G <sunhux gmail com> wrote:

> Hi,
>
> In Solaris, "last" command can give me a lot of info including
> the type of login (the source IP addr I login from, whether its
> telnet/ssh/ftp).
>
> I can't seem to find anything on this in my Linux
> (uname -a    gives 2.4.20-8smp)
>
> Also, how can I tuned wtmp to capture up to 35 days' worth
> of data?
>
>
> TIA
> U
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
========================================
Marcos Aurelio Rodrigues
<deigratia33 gmail com>
CCNA, MCSO, Security+
Mirabilia laudo semprer, Dei
========================================


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]