|
| From: | Paul Eggert |
| Subject: | bug#64937: "who" reports funny dates |
| Date: | Sun, 6 Aug 2023 13:00:36 -0700 |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 2023-08-03 23:53, Thorsten Kukuk wrote:
And yes, "who /var/log/wtmp" will not work with this, too. But is this really a required or usefull use case? /usr/bin/last can give you the same output.
Sure, but some people use "who" for that.[1][2][3] This is partly because "who" predates "last".
How does "last" emulate /var/log/wtmp using systemd?Also, what about /var/log/btmp? That is, what is the systemd substitute for "who /var/log/btmp" or "last -f /var/log/btmp"?
[1]: https://linuxhandbook.com/who-command/ [2]: https://linuxtldr.com/who-command/ [3]: https://kamotora.net/system/linux/check-btmp-wtmp-utmp/
| [Prev in Thread] | Current Thread | [Next in Thread] |