* Patrick Holahan <[EMAIL PROTECTED]> [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 r
# [EMAIL PROTECTED] / 2002-10-14 16:12:36 +0100:
> On Mon, Oct 14, 2002 at 04:54:03PM +0200, Jens Rehsack wrote:
> > Patrick Holahan wrote:
>
> > > 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
>
I did it It works, but it's NOT secure...
Basically I use it to open a SSH port to the dialin machine I am browsing from.
You are welcome to my source if you like
-D
-Original Message-
From: Patrick Holahan [mailto:[EMAIL PROTECTED]]
Sent: 14 October 2002 16:36
To: [EMAIL PROTE
Typically PHP runs as www (or nobody). You will have to give ipfw root exec
premission (forgot what is is called, but mode 1755 and owner root) or use
sudo. (man sudo, man chmod) either should work, but be warned this is very
INSECURE!
Jack
> -Original Message-
> From: [EMAIL PROTECTED
On Mon, 2002-10-14 at 15:35, Patrick Holahan wrote:
> Hi there..
>
> Hopefully someone here is able to help me..
>
> 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
On Mon, Oct 14, 2002 at 04:54:03PM +0200, Jens Rehsack wrote:
> Patrick Holahan wrote:
> > 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.)
> is that
Patrick Holahan wrote:
>
> Hi there..
>
> Hopefully someone here is able to help me..
>
> 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.)
>
> Would a