diff options
author | Bob Beck <beck@cvs.openbsd.org> | 1999-10-02 00:06:52 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 1999-10-02 00:06:52 +0000 |
commit | 871afe20be886117e4eee5b7afa5a145be00578d (patch) | |
tree | 931ffc8a0cca0b51efa109a7a02087bd161c0eeb /usr.sbin/httpd | |
parent | 0acd9cb2363683f7fd4c849e740b152717aca732 (diff) |
pick up apxs and suexec makefiles, add BUGS section to
suexec mentioning that we do not install it setuid root
and that this must be done for it to work.
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r-- | usr.sbin/httpd/Makefile.bsd-wrapper | 7 | ||||
-rw-r--r-- | usr.sbin/httpd/src/support/suexec.8 | 7 |
2 files changed, 11 insertions, 3 deletions
diff --git a/usr.sbin/httpd/Makefile.bsd-wrapper b/usr.sbin/httpd/Makefile.bsd-wrapper index e275fab59ef..2f194491d37 100644 --- a/usr.sbin/httpd/Makefile.bsd-wrapper +++ b/usr.sbin/httpd/Makefile.bsd-wrapper @@ -1,5 +1,5 @@ # Build wrapper for Apache -# $OpenBSD: Makefile.bsd-wrapper,v 1.5 1999/10/01 23:20:25 beck Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.6 1999/10/02 00:06:50 beck Exp $ # Our lndir is hacked; specify a full path to avoid potential conflicts # with the one installed with X11. @@ -122,7 +122,8 @@ SBINFILES= \ MAN+= src/support/dbmmanage.1 src/support/htdigest.1 src/support/htpasswd.1 \ src/support/ab.8 src/support/apachectl.8 src/support/logresolve.8 \ - httpd.8 src/support/rotatelogs.8 + httpd.8 src/support/rotatelogs.8 src/support/apxs.8 \ + src/support/suexec.8 INCFILES= \ src/include/alloc.h \ @@ -450,7 +451,7 @@ includes: prereq ${.OBJDIR}/$$i ${DESTDIR}${HTTPD_INCLUDEDIR}/xml; \ done -install: +install: maninstall @-for i in ${BINFILES}; do \ j=`basename $$i`; \ echo "Installing ${DESTDIR}${HTTPD_BINDIR}/$$j"; \ diff --git a/usr.sbin/httpd/src/support/suexec.8 b/usr.sbin/httpd/src/support/suexec.8 index 801d7abce91..410d450f2f4 100644 --- a/usr.sbin/httpd/src/support/suexec.8 +++ b/usr.sbin/httpd/src/support/suexec.8 @@ -64,6 +64,13 @@ It is run from within Apache automatically to switch the user when an external program has to be run under a different user. For more information about suEXEC see the document `Apache suEXEC Support' under http://www.apache.org/docs/suexec.html . +.PP +.SH BUGS +.B suexec +is not installed setuid root by default on OpenBSD. In order to use +apache with suexec, you will need to permit this file setuid root. +Be very careful in doing so. improper use of suexec can have severe +security implications. .PD .SH SEE ALSO .BR httpd(8) |