LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-17-2004, 03:42 AM   #1
praveenv
Member
 
Registered: Aug 2004
Location: India
Posts: 54

Rep: Reputation: 15
last -i command output


last -i : Command displays all users login details including <host ip-addr > from which they logged into the current system .
My system is not a Server but connected to inet.
output:

praveenv 144.186.17.0 some other details......

here < praveenv > is user name who logged in( it is mysely local....)
144.186.17.0 is host <ip-addr> from which he logged in , the <remote host ip-addr> is neither local in my network nor my <ip-series>

Why it is displaying like that ?

kindly help............
 
Old 08-17-2004, 06:18 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
From man last ...
Last searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays
a list of all users logged in (and out) since that file was created. Names of users and tty's can be
given, in which case last will show only those entries matching the arguments. Names of ttys can be
abbreviated, thus last 0 is the same as last tty0.
...
Lastb is the same as last, except that by default it shows a log of the file /var/log/btmp, which contains
all the bad login attempts.


So also do lastb and see if there are any bad attempts to login, which would indicate someone tried and finally succeeded in finding a password for that user..
 
Old 08-18-2004, 12:43 AM   #3
praveenv
Member
 
Registered: Aug 2004
Location: India
Posts: 54

Original Poster
Rep: Reputation: 15
/var/log/wtmp

I know this file , but I want to know which process is writing to it ( name of process and where it resides.........)


Any help ?..................
 
  


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
What is the command that use to get these output shinwai Linux - Newbie 2 08-31-2005 08:26 AM
output from ls command Grafbak Programming 5 08-07-2005 05:35 AM
Redirecting output to a command-line argument of another command madiyaan Linux - Newbie 1 02-19-2005 04:35 PM
' last -i ' command output praveenv Linux - Newbie 1 08-23-2004 02:14 PM
last -i command output praveenv Linux - Networking 1 08-17-2004 06:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration