chkwtmp(8)

chkwtmp8

Check wtmp file deleted entries

Usage

chkwtmp looks for data deleted from wtmp

Overview

chkwtmp examines the file /var/log/wtmp for entries which have been overwritten (containing only null-bytes). If such entries are found the program displays the timestamps of the entries before and after the deleted entry, providing an idea of when the entry was deleted.

chkwtmp needs to be able to read /var/log/wtmp. Normally this file is world-readable so no special privileges are required.

Files

/var/log/wtmp

database of logins and logouts.

Limitations

An entry is recognized as overwritten if the time-information has been overwritten with null-bytes.

This program was originally designed to run on SunOS 4.x systems. On other systems the output is undefined.

Releases

3 releases since Debian 11 (Bullseye); the text changed 1 time.

  1. 11
  2. 12–13

From chkrootkit 0.58b-5+b8 in Debian 13 (Trixie). Parsed by carta from the page's man source.