>
>
>
> > % who
> > mgrant   pts/1        2016-07-18 06:15 (2a00:S.1)
>
> I type "who" on Debian jessie and I do get the full IPv6 address:
>
> $ who
> andy     pts/6        2016-07-23 01:42 (2001:ba8:1f1:f019::2)
> $ who --version
> who (GNU coreutils) 8.23
> Copyright (C) 2014 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <
> http://gnu.org/licenses/gpl.html>.
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
>
> Written by Joseph Arceneaux, David MacKenzie, and Michael Stone.
>

I'm running Debian Testing

% who --version
who (GNU coreutils) 8.25
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Joseph Arceneaux, David MacKenzie, and Michael Stone.

How odd that you are getting completely different results from me.  I tried
setting PROCPS_FROMLEN and it indeed makes the field wider but it's all
blank padded out, this does not make the address any longer.

I feel maybe I have some conflicting lib installed somehow that's messing
up the representation of these addresses.  I did not back out this version
and install 8.23.


>
> Using the "-a" option to put the hostname/IP at the end does allow
> it to be of arbitrary length:
>
> $ last -a
> andy     pts/6        Sat Jul 23 01:42   still logged in
> 2001:ba8:1f1:f019::2


last -a and netstat --wide do help, thanks for that!

Reply via email to