1sulog(4)                         File Formats                         sulog(4)
2
3
4

NAME

6       sulog - su command log file
7

SYNOPSIS

9       /var/adm/sulog
10
11

DESCRIPTION

13       The   sulog file is a record of all attempts by users on the system  to
14       execute the su(1M) command.  Each time  su(1M) is executed, an entry is
15       added to the sulog file.
16
17
18       Each entry in the sulog file is a single line of the form:
19
20         SU date time
21         result port user-newuser
22
23
24
25
26       where
27
28       date       The  month  and date su(1M) was executed.  date is displayed
29                  in the form mm/dd where  mm is the month number  and  dd  is
30                  the day number in the month.
31
32
33       time       The time  su(1M) was executed. time is displayed in the form
34                  HH/MM where  HH is the hour number (24 hour system) and   MM
35                  is the minute number.
36
37
38       result     The  result  of  the   su(1M) command.  A ` + ' sign is dis‐
39                  played in this field if the su attempt was successful;  oth‐
40                  erwise  a ` - ' sign is displayed.
41
42
43       port       The  name of the terminal device from which  su(1M) was exe‐
44                  cuted.
45
46
47       user       The user id of the user executing the  su(1M) command.
48
49
50       newuser    The user id being switched to with  su(1M).
51
52

EXAMPLES

54       Example 1 A sample sulog file.
55
56
57       Here is a sample sulog file:
58
59
60         SU 02/25 09:29 + console root-sys
61         SU 02/25 09:32 + pts/3 user1-root
62         SU 03/02 08:03 + pts/5 user1-root
63         SU 03/03 08:19 + pts/5 user1-root
64         SU 03/09 14:24 - pts/5 guest3-root
65         SU 03/09 14:24 - pts/5 guest3-root
66         SU 03/14 08:31 + pts/4 user1-root
67
68
69

FILES

71       /var/adm/sulog     su log file
72
73
74       /etc/default/su    contains the default location of  sulog
75
76

SEE ALSO

78       su(1M)
79
80
81
82SunOS 5.11                        6 Jun 1994                          sulog(4)
Impressum