Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Red Hat Linux (http://www.linux-archive.org/red-hat-linux/)
-   -   "last" in my Redhat did not work like Solaris last (also set it up to capture 35days data) (http://www.linux-archive.org/red-hat-linux/139121-last-my-redhat-did-not-work-like-solaris-last-also-set-up-capture-35days-data.html)

"Marcos Aurelio Rodrigues" 08-07-2008 12:51 PM

"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
========================================
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


All times are GMT. The time now is 07:00 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.