last and IPv6

Rick Stevens ricks at nerd.com
Tue Jun 30 23:59:19 UTC 2009


Jeffrey Ross wrote:
> How can I get the full IP address of a user logging in via IPv6 with the
> last command (or equivalent information elsewhere)
> 
> With an IPv4 address I can simply type "last -i" and the hostname (which
> is usually truncated) is replaced with the IP address.
> 
> Problem is an IPv6 address being 128 bits long is too long to fit in the
> provided field and is truncated after 16 characters, just like the
> hostname.

Have you tried widening the console and trying "last -ia"?
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-              Death is nature's way of dropping carrier             -
----------------------------------------------------------------------




More information about the fedora-list mailing list