summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-12-28 14:34:38 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-12-28 14:34:38 +0000
commite9764b784259bbbd85446f4fffe351d861a626a1 (patch)
tree6196e61816dcef8c1161f8cfd7c869a7bd26dcfd /usr.sbin
parent6901191da30ce5f1a9b5581933b3b2a07201313a (diff)
document that suexec has to be setuid to work correctly;
slightly more logical layout of the page; ok henning@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/httpd/src/support/suexec.829
1 files changed, 22 insertions, 7 deletions
diff --git a/usr.sbin/httpd/src/support/suexec.8 b/usr.sbin/httpd/src/support/suexec.8
index 0517c3a2405..dc109520467 100644
--- a/usr.sbin/httpd/src/support/suexec.8
+++ b/usr.sbin/httpd/src/support/suexec.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: suexec.8,v 1.10 2004/12/21 16:09:34 jmc Exp $
+.\" $OpenBSD: suexec.8,v 1.11 2004/12/28 14:34:37 jmc Exp $
.\" ====================================================================
.\" The Apache Software License, Version 1.1
.\"
@@ -76,12 +76,6 @@ behaviour for the Apache
server.
It is run from within the server automatically to switch the user when
an external program has to be run under a different user.
-For more information about
-.Nm ,
-see the online document
-.Dq Apache suEXEC Support
-at
-.Pa /var/www/htdocs/manual/suexec.html.en .
.Pp
The options are as follows:
.Bl -tag -width indent
@@ -96,5 +90,26 @@ Because this program is only used internally by
.Xr httpd 8 ,
there are no other ways to directly invoke
.Nm .
+.Pp
+In order to work correctly,
+the
+.Nm
+binary should be owned by
+.Dq root
+and have the SETUID execution bit set.
+.Ox
+currently does not install
+.Nm
+with the SETUID bit set,
+so a change of file mode is necessary to enable it:
+.Pp
+.Dl # chmod u+s /usr/sbin/suexec
+.Pp
+For more information about
+.Nm ,
+see the online document
+.Dq Apache suEXEC Support
+at
+.Pa /var/www/htdocs/manual/suexec.html.en .
.Sh SEE ALSO
.Xr httpd 8