1UTMPDUMP(1) System Administration UTMPDUMP(1)
2
3
4
6 utmpdump - dump UTMP and WTMP files in raw format
7
9 utmpdump [-frh] [ filename ]
10
12 utmpdump is a simple program to dump UTMP and WTMP files in raw format,
13 so they can be examined. utmpdump eads from stdin unless a filename is
14 passed.
15
17 -f, --follow
18 Output appended data as the file grows.
19
20 -r, --reverse
21 Undump, write back edited login information into utmp or wtmp
22 files.
23
24 -h, --help
25 Print a help text and exit.
26
27 -V, --version
28 Output version information and exit.
29
31 utmpdump can be useful in cases of corrupted utmp or wtmp entries. It
32 can dump out utmp/wtmp to an ASCII file, then that file can be edited
33 to remove bogus entries and reintegrated, using
34
35 utmpdump -r < ascii_file > wtmp
36
37 but be warned as utmpdump was written for debugging purpose only.
38
40 You may not use the option -r as the format for the utmp/wtmp files
41 strongly depends on the input format. This tool was not written for
42 normal use but for debugging.
43
45 Michael Krapp
46
48 last(1), w(1), who(1), utmp(5)
49
51 The utmpdump command is part of the util-linux package and is available
52 from Linux Kernel Archive ⟨ftp://ftp.kernel.org/pub/linux/utils/util-
53 linux/⟩.
54
55
56
57util-linux July 2012 UTMPDUMP(1)