Re: Running ipfw from a webpage/using php.

2002-10-19 Thread Joan Picanyol
* 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 run a

Re: Running ipfw from a webpage/using php.

2002-10-14 Thread Jens Rehsack
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 anyone

Re: Running ipfw from a webpage/using php.

2002-10-14 Thread Matthew Seaman
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 the

Re: Running ipfw from a webpage/using php.

2002-10-14 Thread Simon Dick
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 make

RE: Running ipfw from a webpage/using php.

2002-10-14 Thread Maildrop
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]

RE: Running ipfw from a webpage/using php.

2002-10-14 Thread Danny.Carroll
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

Re: Running ipfw from a webpage/using php.

2002-10-14 Thread Roman Neuhauser
# [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