> mamama ttyp5 123.123.123.12 Fri Jan 26 19:28 - 19:53 (00:25)
>
>
> Is there anything anybody can do about it ? Where does 'last' come from ?
> Is the length 14 standartized somewhere ?
No, it is usually 16 (not very useful either because most of the time it
will contain truncated resolved addresses). The variable is utmp.ut_host
in utmp.h, and linux defines its length to UT_HOSTSIZE in the same file.
> Are there pgms out there that rely on the size of this field being 14 ?
> (it *should* be 15 :-( )
Well, there is quite a bunch of hacky-wacky shell scripts that process the
'who' output and they might gag...
Kai