A software for Unix operating systems written in standard C ANSI which lets you edit a specified a wtmp database.
Usage: wtmpclean [-l] [-p] [-f < wtmpfile >] < username >
-f, --file Modify < wtmpfile > instead of /var/log/wtmp
-l, --list Show listing of < user > logins
-p, --preserve Preserve ownership and timestamps
./wtmpclean -p -f /var/log/wtmp.1 root
In a hurry? Add it to your Download Basket!
What's New in version 0.6.5
- The raw ('--raw') output was highly improved.
- The whole wtmp database is dumped if no user is specified.
- An error code of 1 is returned if the editing of the wtmp file fails.
- Unknown fake users are not accepted when patching the wtmp file.