1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
$NetBSD: patch-ac,v 1.1.1.1.58.1 2010/07/04 07:26:46 agc Exp $
--- su2.man.orig Tue Oct 2 22:09:48 2001
+++ su2.man
@@ -84,7 +84,7 @@
.I Su2\^
logs all attempts to
.I su2\^
-in /usr/adm/sulog, including failures. Successful attempts are flagged
+in /var/log/sulog, including failures. Successful attempts are flagged
with "+", failures with "-".
.LP
The file
@@ -110,7 +110,7 @@
.B \-u
is used to specify a user against whom to check authorization and password.
The default value is obtained from
-.I /etc/utmp.
+.I /var/run/utmp.
.TP
.B \-x
when specified will cause
@@ -118,7 +118,7 @@
to exec the shell without first forking a new process. This option should
only be used when the system is out of process slots. When it is used
su2 will neither clean up the
-.I /etc/utmp
+.I /var/run/utmp
entry nor reset the ownership and mode of the current
.IR /dev/tty?? .
Both may be reset with the
@@ -127,12 +127,12 @@
.TP
.B \-s
will change the current
-.I /etc/utmp
+.I /var/run/utmp
entry to reflect the new user name.
.TP
.B \-r
is used to replace the username in
-.I /etc/utmp
+.I /var/run/utmp
and the mode and ownership of
.I /dev/tty??
with that associated with the current process userid.
@@ -178,7 +178,7 @@
$HOME/.su2rc
list of users authorized to change to a specific user.
.TP
-/usr/adm/sulog
+/var/log/su2.log
log of
.I su2
and
|