[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache graceful as non-root



On Tue, Jan 09, 2001 at 12:04:07AM -0800, Nate Amsden wrote:
> Sven Burgener wrote:
> > 
> > Hello
> > 
> > Is there a way to do "apachectl graceful" as non-root user? Because when
> > I do, I get an error about denied permission for binding to port 80.
> 
> you could i bet if you made apachectl setuid root but if security is
> an issue i wouldn't reccomend it. to do this do chmod u+s apachectl
> 
> or you could configure sudo (haven't really messed with sudo can't
> help ya there ..)
> 
Why not let apache run as non-root and bind to a port above 1024.
Let port-redirecting do all the work.

Cheers
Martin
-- 
Everybody needs a little love sometime; stop hacking and fall in love!

Attachment: pgpUnwreMwYaM.pgp
Description: PGP signature


Reply to: