Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2002 22:10:41 +0200
From:      Joan Picanyol <lists-freebsd-questions@biaix.org>
To:        questions@freebsd.org
Subject:   Re: Running ipfw from a webpage/using php.
Message-ID:  <20021014201041.GA645@grummit.biaix.org>
In-Reply-To: <010101c2738e$ffcd2560$ec9e1ec4@staff.uunet.co.za>
References:  <010101c2738e$ffcd2560$ec9e1ec4@staff.uunet.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
* Patrick Holahan <patrick@sdn.co.za> [20021014 16:35]:
> I need to run a root command (ipfw) from apache through php. (Yes, this is
> not very secure and I'm aware of this and if anyone has any better
> suggestions, please feel free to make them.)
What do you want to do? (No, you *don't* want to run a command as root
from php)

> Would anyone know how to do this?
If you really want to do it, you can try Apache's SUEXEC feature. Read
about it at http://httpd.apache.org/docs/suexec.html

qvb
-- 
pica

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021014201041.GA645>