diff options
author | obrien <obrien@FreeBSD.org> | 1997-03-03 04:29:48 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1997-03-03 04:29:48 +0000 |
commit | 04e10fa3aaa8ca28e59e7945c211a228b548edd8 (patch) | |
tree | 2e227a7a0b33bfd82a767a8d8bd4fd101bee49eb /sysutils/su2/files | |
parent | 9985d8ce0e7d792f22b4102767f61f04422fe022 (diff) | |
download | FreeBSD-ports-04e10fa3aaa8ca28e59e7945c211a228b548edd8.zip FreeBSD-ports-04e10fa3aaa8ca28e59e7945c211a228b548edd8.tar.gz |
/etc/super-users --> $PREFIX//etc/super-users
/etc/utmp --> /var/run/utmp
Man page now tells the correct paths.
Closes PR: ports/2823
Diffstat (limited to 'sysutils/su2/files')
-rw-r--r-- | sysutils/su2/files/patch-aa | 6 | ||||
-rw-r--r-- | sysutils/su2/files/patch-ab | 11 | ||||
-rw-r--r-- | sysutils/su2/files/patch-ac | 53 |
3 files changed, 63 insertions, 7 deletions
diff --git a/sysutils/su2/files/patch-aa b/sysutils/su2/files/patch-aa index 93a4b61..82556a3 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 1f61027..bc73b8d 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 0000000..0a952b9 --- /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 |