bug#64937: "who" reports funny dates

2023-08-07 Thread Paul Eggert
On 2023-08-07 04:22, Bruno Haible wrote: Since the fact that /var/run/utmp and /var/log/wtmp are world-readable implies that they are world-lockable and thus the DoS bug https://sourceware.org/bugzilla/show_bug.cgi?id=24492 applies, to me it's clear that both utmp and wtmp needs to go away

bug#64937: "who" reports funny dates

2023-08-07 Thread Bruno Haible
Paul Eggert wrote: > Fedora 38 runs > systemd, for example, and it still maintains /var/log/wtmp. Likewise for > Ubuntu 23.04. Well, these are the permissions of these files: /var/run/utmp /var/log/wtmp /var/log/btmpowner Ubuntu 23.04 rw-rw-r--