utmpdump

Dump and load btmp, utmp and wtmp accounting files. More information: <https://manned.org/utmpdump>.

Install

All systems
curl cmd.cat/utmpdump.sh
Debian Debian
apt-get install util-linux
Ubuntu
apt-get install util-linux
Alpine
apk add util-linux
Arch Arch Linux
pacman -S util-linux
image/svg+xml Kali Linux
apt-get install util-linux
CentOS
yum install util-linux
Fedora
dnf install util-linux
Windows (WSL2)
sudo apt-get update sudo apt-get install util-linux
OS X
brew install util-linux
Raspbian
apt-get install util-linux
Docker
docker run cmd.cat/utmpdump utmpdump powered by Commando

Dump and load btmp, utmp and wtmp accounting files. More information: <https://manned.org/utmpdump>.

  • Dump the `/var/log/wtmp` file to `stdout` as plain text:
    utmpdump /var/log/wtmp
  • Load a previously dumped file into `/var/log/wtmp`:
    utmpdump -r dumpfile > /var/log/wtmp

© tl;dr; authors and contributors