|Summary:||lastb does not work as advertised|
|Product:||[Retired] Red Hat Linux||Reporter:||rnapier|
|Component:||util-linux||Assignee:||Cristian Gafton <gafton>|
|Status:||CLOSED CURRENTRELEASE||QA Contact:|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||1999-03-26 02:39:08 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
Description rnapier 1999-01-20 00:58:14 UTC
login.c that is provided by util-linux does not use /var/log/btmp. It also provides last and last.1 which are consistent with this. However, SysVinit also provides last, last.1 and lastb which do expect to use /var/log/btmp. This is the version that is actually found in /usr/bin/last. This means that lastb is effectively not compatible with login on Redhat as installed by default. The major issue is that last.1 is effectively incorrect. Though it does discribe the correct behavior of last, it describes incorrect behavior for login. I recommend that you remove last* from SysVinit. Ideally a replacement for lastb would read /var/log/secure.
Comment 1 seva 1999-01-21 17:47:59 UTC
I asked about this half a year or so ago on the mailing list, and would still like to see a solution. Preferrably when there is a log of failed connections and lastb exists and works...
Comment 2 Preston Brown 1999-03-22 20:20:59 UTC
Cristian, how are we going to resolve this for 6.0?
Comment 3 Jeff Johnson 1999-03-26 02:39:59 UTC
Should be fixed in util-linux-2.9o-6.