2

This was a weird output I came across. Running the "last" command gave me this output

gryphon  pts/0        192.168.0.108    Wed Mar 19 21:04   still logged in
gryphon  pts/0        s0106d850e695678 Wed Mar 19 13:53 - 13:54  (00:01)
gryphon  pts/0        192.168.0.108    Tue Mar 18 22:57 - 23:03  (00:06)

I'm pretty sure that the weird IP address was me but what is up with the garbage for the IP address?

I do not have an IPV6 address. It's just a weird hostname I don't have anything named that. I might have been VPN'ing in would that have anything to do with it?

Mat
  • 52,586
Cody
  • 245

2 Answers2

4

As Ricky Beam mentioned, it is a hostname, but sadly, it was too long and therefore cut off. If you want to display the entire host name without any trimming, run the command with the -F flag (capitalization matters).

$ last
andreas  pts/15       123-27-247-110.c Fri Jun 13 00:24 - 00:33  (00:08)    
$ last -w -F
andreas  pts/15       123-27-247-110.client.mchsi.com Fri Jun 13 00:24:24 2014 - Fri Jun 13 00:33:03 2014  (00:08)    
IQAndreas
  • 10,345
1

That's not an address. It's a hostname. (or as much of it as will fit in a wtmp entry.)

Ricky
  • 1,377