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