mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
-- Made WWW Makefile do a "chown" to accomodate Remind security features.
This commit is contained in:
15
www/Makefile
15
www/Makefile
@@ -2,7 +2,7 @@
|
||||
# This file is part of REMIND.
|
||||
# Copyright (C) 1992-1997 by David F. Skoll
|
||||
|
||||
# $Id: Makefile,v 1.5 1997-07-31 02:19:04 dfs Exp $
|
||||
# $Id: Makefile,v 1.6 1997-08-31 17:09:45 dfs Exp $
|
||||
|
||||
# The complete name of your www host. Example: www.mycompany.com
|
||||
WWWHOST = shevy.skoll.ca
|
||||
@@ -17,6 +17,10 @@ SCRIPTDIR = /var/web/cgi-bin
|
||||
# they live in WWWHOST/cgi-bin, supply /cgi-bin
|
||||
CGIDIR = /cgi-bin
|
||||
|
||||
# The effective user of the REMIND process when started by your
|
||||
# web server
|
||||
CGIUSER = nobody
|
||||
|
||||
# The complete path to the HTML file "calendar.html". This is a sample
|
||||
# file containing links to all the scripts. This path should be the
|
||||
# path as seen by the UNIX operating system
|
||||
@@ -62,3 +66,12 @@ install:
|
||||
chmod 755 $(SCRIPTDIR)/calps $(SCRIPTDIR)/hebdate \
|
||||
$(SCRIPTDIR)/hebps $(SCRIPTDIR)/moon $(SCRIPTDIR)/sunrise \
|
||||
$(SCRIPTDIR)/sunset $(SCRIPTDIR)/hebhtml $(SCRIPTDIR)/rem2html
|
||||
chown $(CGIUSER) $(SCRIPTDIR)/sunrise.rem
|
||||
chown $(CGIUSER) $(SCRIPTDIR)/moon.rem
|
||||
chown $(CGIUSER) $(SCRIPTDIR)/hebdate.rem
|
||||
chown $(CGIUSER) $(SCRIPTDIR)/sunset.rem
|
||||
chown $(CGIUSER) $(HTMLDIR)/calendar.html
|
||||
chown $(CGIUSER) $(SCRIPTDIR)/cal_dispatch
|
||||
chown $(CGIUSER) $(SCRIPTDIR)/calps $(SCRIPTDIR)/hebdate \
|
||||
$(SCRIPTDIR)/hebps $(SCRIPTDIR)/moon $(SCRIPTDIR)/sunrise \
|
||||
$(SCRIPTDIR)/sunset $(SCRIPTDIR)/hebhtml $(SCRIPTDIR)/rem2html
|
||||
|
||||
10
www/README
10
www/README
@@ -1,5 +1,5 @@
|
||||
README
|
||||
$Id: README,v 1.5 1997-07-31 02:19:04 dfs Exp $
|
||||
$Id: README,v 1.6 1997-08-31 17:09:46 dfs Exp $
|
||||
|
||||
HTML Hebrew Calendar Server
|
||||
|
||||
@@ -26,7 +26,13 @@ server:
|
||||
|
||||
3) Type "make install"
|
||||
|
||||
4) Test it out. It will generate links of the form:
|
||||
4) Because of the new REMIND security features, all of the www files
|
||||
must be owned by the effective uid of REMIND. That is, if your
|
||||
web server runs CGI programs as root, REMIND's script files must
|
||||
be owned by root. If REMIND is run as nobody, its script files
|
||||
must be owned by nobody.
|
||||
|
||||
5) Test it out. It will generate links of the form:
|
||||
|
||||
http://www.your_server.com/your_cgi-bin/cal_dispatch?what
|
||||
|
||||
|
||||
Reference in New Issue
Block a user