Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!vixen.cso.uiuc.edu!newsfeed.internetmci.com!news.corpcomm.net!news From: rryan@blackhills.com (R Ryan) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Letting httpd run port 80 (quick newbie question) Date: 21 Nov 1996 07:27:20 GMT Organization: RIS Lines: 24 Distribution: world Message-ID: <57108o$nk6@news.corpcomm.net> References: <570bf4$spf@vixen.cso.uiuc.edu> NNTP-Posting-Host: rich.blackhills.com Mime-Version: 1.0 Content-Type: Text/Plain; charset=US-ASCII X-Newsreader: WinVN 0.99.7 In article <570bf4$spf@vixen.cso.uiuc.edu>, dannyman@arh0135.urh.uiuc.edu says... > > Okay, Apache here ... > > I've tried running httpd suid username httpd, but then it's not >allowed to bind port 80. How can I allow this to occur, are there any other >suggestions? The child processes sitting around run under httpd, I think I >told them to do that at compile time, but I want all of httpd to run as >httpd, or is this a waste of effort? :) Any process running on a port <1023 must run as root. As you noticed, the child processes are a different user and thats what actually interfaces with the browsers. So yes, you're wasting your time unless you go to port 8080 (which is done by some) HTH RR -- ---------------------------- Principle is ever my motto, not expediency. (Disraeli 1805-1881) ISBH http://www.blackhills.com/