Quote:
Originally Posted by jefro
-d
For non-local logins, Linux stores not only the host name of the remote host but its IP number as well. This option translates the IP number back into a hostname.
I think this is what you mean??
|
Hi jefro, thanks for your response.
Yes, I want to look the associated IP to the login, but since all of this records are from my localhost, why they are in the form of 255.*?
I looked at ifconfig and route, none of them show this IP, I wonder where they come from...
Here's the output of both:
$ ifconfig
eth0 Link encap:Ethernet HWaddr ac:9e:17:81:99:a7
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::ae9e:17ff:fe81:99a7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
collisions:0 txqueuelen:1000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:41 errors:0 dropped:0 overruns:0 frame:0
TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4873 (4.7 KiB) TX bytes:4873 (4.7 KiB)
$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.0.1 0.0.0.0 UG 1024 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0