chkwtmp(1)

chkwtmp1

Check wtmp-file for deleted entries

Usage

chkwtmp

Overview

Chkwtmp examines the file /var/log/wtmp for entries with no information (containing only null-bytes). If such entries are found the program prints the time window for the original entry. This is done by displaying the timestamps of the wtmp-entry before and after the deleted entry.

To run chkwtmp you need read permission on the file /var/log/wtmp. Normally this file is world-readable and no special privileges are required to run the checker.

Files

/var/log/wtmp

login data base

Limitations

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

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

Releases

9 releases since Debian 3.0 (Woody); the text changed 2 times.

  1. 3.0–3.1
  2. 4.0
  3. 5.0–10

From chkrootkit 0.52-3+b10 in Debian 10 (Buster). Parsed by carta from the page's man source.