Hi all,
On my OpenBSD installation (6.9) one of the log files created by login(1)
seems to be a binary file:
$ less /var/log/failedlogin
"failedlogin" may be a binary file. See it anyway?
The hexdump of it is:
openbsd# hexdump -C failedlogin
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
0004c2c0 74 74 79 43 32 00 00 00 00 00 00 00 00 00 00 00 |ttyC2...........|
0004c2d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
0004c3e0 00 00 00 00 00 00 00 00 b2 f6 ef 60 00 00 00 00 |...........`....|
0004c3f0 00 00 00 00 00 00 00 00 74 74 79 43 33 00 00 00 |........ttyC3...|
0004c400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
0004c520 89 97 d0 60 00 00 00 00 00 00 00 00 00 00 00 00 |...`............|
0004c530
What can I learn from this logfile?
A lot of repeating null bytes and "ttyC2" and "ttyC3" does not seems
to be very informative.
Is this an error?