1AULAST:(8) System Administration Utilities AULAST:(8)
2
3
4
6 aulast - a program similar to last
7
9 aulast [ options ]
10
11
13 aulast is a program that prints out a listing of the last logged in
14 users similarly to the program last and lastb. Aulast searches back
15 through the audit logs or the given audit log file and displays a list
16 of all users logged in (and out) based on the range of time in the
17 audit logs. Names of users and tty’s can be given, in which case aulast
18 will show only those entries matching the arguments.
19
20 The pseudo user reboot logs in each time the system is rebooted. Thus
21 last reboot will show a log of all reboots since the log file was cre‐
22 ated.
23
24 The main difference that a user will notice is that aulast print events
25 from oldest to newest, while last prints records from newest to oldest.
26 Also, the audit system is not notified each time a tty or pty is allo‐
27 cated, so you may not see quite as many records indicating users and
28 their tty's.
29
30
32 --bad Report on the bad logins.
33
34
35 --extract
36 Write raw audit records used to create the displayed report into
37 a file aulast.log in the current working directory.
38
39
40 -ffile Use the file instead of the audit logs for input.
41
42
43 --proof
44 Print out the audit event serial numbers used to determine the
45 preceding line of the report. A Serial number of 0 is a place
46 holder and not an actual event serial number. The serial numbers
47 can be used to examine the actual audit records in more detail.
48 Also an ausearch query is printed that will let you find the
49 audit records associated with that session.
50
51
52 --stdin
53 Take audit records from stdin. The audit events must be in the
54 raw format.
55
56
57 --tty Limit the report to a specific tty's activity. The names of ttys
58 can be abbreviated. For example, 0 is the same as tty0.
59
60
61 --username
62 Limit the report to a specific user.
63
64
66 To see this month's logins
67 ausearch --start this-month --raw | aulast --stdin
68
69
71 last(1), lastb(1), ausearch(8), aureport(8).
72
73
75 Steve Grubb
76
77
78
79Red Hat June 2016 AULAST:(8)