On Fri, Jul 30, 2021 at 2:51 PM Carlos E. R.
On 30/07/2021 13.32, Andrei Borzenkov wrote:
On Fri, Jul 30, 2021 at 1:26 PM Carlos E. R.
wrote: Isengard:~ # chkstat --warn --system Checking permissions and ownerships - using the permissions files /etc/permissions /etc/permissions.easy /etc/permissions.d/postfix /etc/permissions.local /var/log/lastlog should be root:root 0644. (wrong owner/group root:utmp permissions 0664) /var/log/btmp should be root:utmp 0600. (wrong permissions 0660) Isengard:~ #
Which file contains lastlog and btmp? I do not see lastlog on my Leap 15.3
No, I'm using 15.2 (as signature says).
Isengard:~ # rpm -qf /var/log/lastlog /var/log/btmp aaa_base-84.87+git20180409.04c9dae-lp152.14.7.1.x86_64 file /var/log/btmp is not owned by any package Isengard:~ #
Isengard:~ # file /var/log/btmp /var/log/btmp: dBase III DBT, version number 0, next free block index 6 Isengard:~ #
that is not what I asked.
Command "lastb" uses it (bad login attempts)
utmpdump /var/log/btmp
dumps it.
https://www.thegeekdiary.com/what-is-the-purpose-of-utmp-wtmp-and-btmp-files...
I have not found what creates and keeps them, and I have forgotten.
-- Cheers / Saludos,
Carlos E. R.
(from oS Leap 15.2 x86_64 (Minas Tirith))