*BSD News Article 74001


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!zombie.ncsc.mil!news.mathworks.com!uunet!inXS.uu.net!newsfeed.pitt.edu!jlfox
From: jlfox+@pitt.edu (James L Fox)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: httpd through cron
Date: 17 Jul 1996 13:59:07 GMT
Organization: University of Pittsburgh
Lines: 35
Message-ID: <4sirjb$ncf@usenet.srv.cis.pitt.edu>
References: <4s88g3$krt@usenet.srv.cis.pitt.edu> <4sdo3p$461@usenet.srv.cis.pitt.edu> <31EB0F48.7EE8@www.play-hookey.com> <4sftgb$meq@uriah.heep.sax.de>
NNTP-Posting-Host: unixs-eval.cis.pitt.edu


J"org wrote:
< From: j@uriah.heep.sax.de (J Wunsch)
< Newsgroups: comp.unix.bsd.freebsd.misc
< Subject: Re: httpd through cron
< Date: 16 Jul 1996 11:13:15 GMT
<
< Ken Bigelow <kbigelow@www.play-hookey.com> wrote:
< 
< > Is there a reason for 7000? HTTP runs on port 80 normally.
< 
< Privileged port, cannot be run by a non-priveleged user.
< 
< > I'd suggest you start it from /etc/rc.local instead. That way it starts 
< > each time you reboot, automatically.
< 
<>  Needs root permission either.
< 
< :-)
< 
< It looks to me that the originator is not the sys admin on this
<>  machine, but wants to launch a private HTTPD.
< 
< -- 
< cheers, J"org
< 
You got it right J"org!

BTW, the problem is AFS!  You really can run an httpd server from an
unprivileged account but if your site distributes files with AFS
requiring Kerberos authentication you're in trouble when cron restarts
your job. It runs, but with no permissions.  There might be a workaround
which I will post if successful.

--Jim Fox