Commit | Line | Data |
---|---|---|
a343bbd7 KM |
1 | .\" @(#)wtmp.5 4.1 (Berkeley) %G% |
2 | .\" | |
3 | .TH WTMP 5 | |
4 | .AT 3 | |
5 | .tr || | |
6 | .SH NAME | |
7 | wtmp \- user login history | |
8 | .SH DESCRIPTION | |
9 | This | |
10 | file records all logins and logouts. | |
11 | Its format is exactly like | |
12 | .IR utmp (5) | |
13 | except that | |
14 | a null user name indicates a logout on the associated | |
15 | typewriter. | |
16 | Furthermore, the typewriter name `~' indicates that the | |
17 | system was rebooted at the indicated time; | |
18 | the adjacent pair of entries with typewriter names | |
19 | `|' and `}' indicate the system-maintained time | |
20 | just before and just after a | |
21 | .I date | |
22 | command has changed the system's idea of the time. | |
23 | .PP | |
24 | .I Wtmp | |
25 | is maintained by | |
26 | .IR login (1) | |
27 | and | |
28 | .IR init (8). | |
29 | Neither of these programs creates the file, | |
30 | so if it is removed record-keeping is turned off. | |
31 | It is summarized by | |
32 | .IR ac (1). | |
33 | .SH FILES | |
34 | /usr/adm/wtmp | |
35 | .SH "SEE ALSO" | |
36 | utmp(5), login(1), init(8), ac(1), who(1) |