su2 is a replacement for the su program. su2 gives you the ability to masquerade with the UID of other users, using your own password to switch. Submitted by collver at linuxfreemail.com in PR#14141. Thanks! (MD5 checksum of the su2 distribution checked against FreeBSD ports' entry.)
55 lines
1.3 KiB
Text
55 lines
1.3 KiB
Text
$NetBSD: patch-ac,v 1.1.1.1 2002/06/04 09:56:38 cjep 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
|