summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2001-02-22 20:46:37 +0000
committerBob Beck <beck@cvs.openbsd.org>2001-02-22 20:46:37 +0000
commit639a5f981483660ca4b13c30ecd65ee7b9115c6a (patch)
tree78a52ea200410fe26202b9b49ea2f54e0cbe1d80
parent7ac43947e0d9e524e53703922be22bf4ec42b8dc (diff)
set default values to sane things for OpenBSD, these are normally
set by Makefile.bsd-wapper, but this causes grief for people building just suexec if they aren't there, noticed in pr1680 by James Ponder <james@squish.net>
-rw-r--r--usr.sbin/httpd/src/support/suexec.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.sbin/httpd/src/support/suexec.h b/usr.sbin/httpd/src/support/suexec.h
index 892badd1e0b..f4c9e95f1bc 100644
--- a/usr.sbin/httpd/src/support/suexec.h
+++ b/usr.sbin/httpd/src/support/suexec.h
@@ -78,7 +78,7 @@
* for suEXEC. For most systems, 500 or 100 is common.
*/
#ifndef UID_MIN
-#define UID_MIN 100
+#define UID_MIN 1000
#endif
/*
@@ -86,7 +86,7 @@
* for suEXEC. For most systems, 100 is common.
*/
#ifndef GID_MIN
-#define GID_MIN 100
+#define GID_MIN 1000
#endif
/*
@@ -120,7 +120,7 @@
* debugging purposes.
*/
#ifndef LOG_EXEC
-#define LOG_EXEC "/usr/local/apache/logs/cgi.log" /* Need me? */
+#define LOG_EXEC "/var/log/suexec.log" /* Need me? */
#endif
/*
@@ -129,7 +129,7 @@
* that can be used for suEXEC behavior.
*/
#ifndef DOC_ROOT
-#define DOC_ROOT "/usr/local/apache/htdocs"
+#define DOC_ROOT "/var/www/htdocs"
#endif
/*
@@ -137,7 +137,9 @@
*
*/
#ifndef SAFE_PATH
-#define SAFE_PATH "/usr/local/bin:/usr/bin:/bin"
+#define SAFE_PATH "/usr/bin:/bin:/usr/local/bin"
#endif
#endif /* _SUEXEC_H */
+
+