summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sysutils/su2/files/patch-aa6
-rw-r--r--sysutils/su2/files/patch-ab11
-rw-r--r--sysutils/su2/files/patch-ac53
3 files changed, 63 insertions, 7 deletions
diff --git a/sysutils/su2/files/patch-aa b/sysutils/su2/files/patch-aa
index 93a4b61a961b..82556a3fda4a 100644
--- a/sysutils/su2/files/patch-aa
+++ b/sysutils/su2/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.orig Thu Dec 19 20:41:49 1996
-+++ Makefile Thu Dec 19 20:47:14 1996
+--- Makefile.orig Sun Mar 2 20:17:14 1997
++++ Makefile Sun Mar 2 20:24:15 1997
@@ -8,16 +8,17 @@
# /etc/super-users and /usr/adm/sulog that are defined
# separately.
@@ -17,7 +17,7 @@
# Standard
-OPTIONS=-DFULLPATH
-+OPTIONS=-DSU2LOGFILE="\"/var/log/su2.log\"" -DBROKENCUSERID
++OPTIONS=-DSU2LOGFILE="\"/var/log/su2.log\"" -DSUPERUSERS="\"$(PREFIX)/etc/super-users\"" -DBROKENCUSERID
# m88k
# OPTIONS=-DFULLPATH -DNOVFORK
diff --git a/sysutils/su2/files/patch-ab b/sysutils/su2/files/patch-ab
index 1f610274a319..bc73b8daf10c 100644
--- a/sysutils/su2/files/patch-ab
+++ b/sysutils/su2/files/patch-ab
@@ -1,14 +1,17 @@
---- su2.c.orig Thu Dec 19 20:41:50 1996
-+++ su2.c Thu Dec 19 20:41:50 1996
-@@ -113,7 +113,7 @@
+--- su2.c.orig Sun Mar 2 20:17:16 1997
++++ su2.c Sun Mar 2 20:21:41 1997
+@@ -113,9 +113,9 @@
#ifndef NOSU2RC
char *UsersNameFile = ".su2rc";
#endif NOSU2RC
-char *SULog = "/usr/adm/sulog";
+char *SULog = SU2LOGFILE;
- char *UtmpFile = "/etc/utmp";
+-char *UtmpFile = "/etc/utmp";
++char *UtmpFile = "/var/run/utmp";
+ #ifndef PATH
+ # ifdef BSD
@@ -182,13 +182,15 @@
char *malloc ();
diff --git a/sysutils/su2/files/patch-ac b/sysutils/su2/files/patch-ac
new file mode 100644
index 000000000000..0a952b95df73
--- /dev/null
+++ b/sysutils/su2/files/patch-ac
@@ -0,0 +1,53 @@
+--- su2.man.orig Thu Sep 7 13:17:12 1995
++++ su2.man Sun Mar 2 20:21:01 1997
+@@ -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/su2.log, 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