LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-15-2003, 01:35 PM   #1
mrant
Member
 
Registered: Jun 2003
Location: Troy, NY (Near Albany)
Distribution: Ubuntu, Maemo OS2008, Debian
Posts: 94

Rep: Reputation: 15
/var/log/wtmp


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?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-15-2003, 01:49 PM   #2
phishman3579
Member
 
Registered: May 2003
Posts: 161

Rep: Reputation: 32
Login and logout info, use the "last" command to see it.
 
2 members found this post helpful.
Old 07-15-2003, 01:55 PM   #3
mrant
Member
 
Registered: Jun 2003
Location: Troy, NY (Near Albany)
Distribution: Ubuntu, Maemo OS2008, Debian
Posts: 94

Original Poster
Rep: Reputation: 15
Ahhhh, thanks a lot.
 
Old 05-19-2011, 04:10 AM   #4
drManhattan
Member
 
Registered: Aug 2010
Location: Warsaw, Poland
Distribution: Ubuntu 10.04 LTS on IBM Lenovo R61e, RHEL5-6,SLES10-11
Posts: 262

Rep: Reputation: 1
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.
 
Old 07-14-2013, 08:41 PM   #5
mustafa.zubair
LQ Newbie
 
Registered: Jul 2013
Posts: 1

Rep: Reputation: Disabled
/usr/lib/acct/fwtmp < /var/adm/wtmp > /tmp/abc.out


You can read the abc.out file (plain english)
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/var/log/wtmp ??? fatrandy13 Linux - Software 3 12-13-2004 09:07 AM
/var/log/wtmp praveenv Linux - Newbie 5 08-23-2004 02:48 PM
cleaning up /var/adm/wtmp Risc91 AIX 5 08-23-2004 09:52 AM
Strange results in /var/log/apache/access.log subt13 Linux - Security 2 08-03-2004 01:21 PM
wierd characters in /var/log/wtmp mindfestival Linux - Newbie 2 04-22-2004 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration