-   Linux - Security (
-   -   /var/log/wtmp (

mrant 07-15-2003 02:35 PM

What gets logged to wtmp and how would you read it? When I try reading it with vi i get hex entries. And wtmp.1 gives gibberish. Is there a certain program used to view this log?

phishman3579 07-15-2003 02:49 PM

Login and logout info, use the "last" command to see it.

mrant 07-15-2003 02:55 PM

Ahhhh, thanks a lot.

drManhattan 05-19-2011 05:10 AM

utmpdump /var/log/wtmp | less ---> To review recent logins. If the login is from a remote location, it will be associated with a specific IP address outside your network.

mustafa.zubair 07-14-2013 09:41 PM

/usr/lib/acct/fwtmp < /var/adm/wtmp > /tmp/abc.out

You can read the abc.out file (plain english)

All times are GMT -5. The time now is 01:21 PM.