[Bug 2084854] Re: last and lastb missing in 24.10

2024-11-17 Thread Gordon Lack
You can get *bad logins* by using utmpdump on btmp (tty logins are type 6). But that requires the btmp file, and once you collect that you should really be supplying lastb to process it, as utmpdump is supposed to just be a debugging tool (see its man page). -- You received this bug notification

[Bug 2084854] Re: last and lastb missing in 24.10

2024-11-17 Thread Fedon Kadifeli
Although there are workarounds for the commands `last` (by using `wtmpdb`) and `lastlog` (by using `lastlog2`), there is no solution for finding *bad logins* (like using the old `lastb` command). See: https://askubuntu.com/questions/1533129/what-happened-to-lastb- command-in-ubuntu-24-10 Also a q

[Bug 2084854] Re: last and lastb missing in 24.10

2024-11-17 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: util-linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084854 Title:

[Bug 2084854] Re: last and lastb missing in 24.10

2024-10-20 Thread Gordon Lack
Although it seems that, for my purposes, I can parse the output of utmpdump. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084854 Title: last and lastb missing in 24.10 To manage notifications abo

[Bug 2084854] Re: last and lastb missing in 24.10

2024-10-20 Thread Gordon Lack
Also, wtmpdb only seems to record network logins. It doesn't record console or X session logins. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084854 Title: last and lastb missing in 24.10 To mana

[Bug 2084854] Re: last and lastb missing in 24.10

2024-10-20 Thread Gordon Lack
That might work for last - although it ignores the fact that /var/log/wtmp is still being produced when there is no utility to read it (and the btmp file for failed logins) But there appears to be no replacement for lastb, and I'm *far* more interested in who is trying to login and failing. -- Y

[Bug 2084854] Re: last and lastb missing in 24.10

2024-10-20 Thread Hans Joachim Desserud
Looking through the changelog, the tools seem to have been split out or moved to another package https://git.launchpad.net/ubuntu/+source/util- linux/commit/?id=e8866bb93ef4cdfa36a8ec94fc43fb66d33a67e4 ** Tags added: oracular -- You received this bug notification because you are a member of Ubun