Re: Run process in background

2002-04-22 Thread drieux
On Monday, April 22, 2002, at 12:27 , Alex Read wrote: > Food for thought indeed! Fortunately the number of options the user has > is small and so I can write my script like so; > > system "Myscript option1" if ("$Form_input" eq "Nice_things1"); > system "Myscript option2" if ("$Form_input" eq

Re: Run process in background

2002-04-22 Thread Alex Read
Food for thought indeed! Fortunately the number of options the user has is small and so I can write my script like so; system "Myscript option1" if ("$Form_input" eq "Nice_things1"); system "Myscript option2" if ("$Form_input" eq "Nice_things2"); etc ... Also this form is being used more as a "

Re: Run process in background

2002-04-21 Thread drieux
On Sunday, April 21, 2002, at 11:58 , Rafael Cotta wrote: > Maybe because of my bad English most likely my 'american'. > and lack of knowledge on Linux I couldn't > understand what you mean. I will try again. > Tell me: is it a security issue or not? It is a Reasonable Security Issue -

Re: Run process in background

2002-04-21 Thread Rafael Cotta
Maybe because of my bad English and lack of knowledge on Linux I couldn't understand what you mean. Tell me: is it a security issue or not? Rafael "Drieux" <[EMAIL PROTECTED]> escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > we came we executed, we removed it > was this

Re: Run process in background

2002-04-20 Thread drieux
On Saturday, April 20, 2002, at 09:00 , Rafael Cotta wrote: [..] > The malicious hacker may use: > > command01 | command02 > > I think Linux also has this feature. > > Am I right or wrong > > Rafael Cotta > > "Alex Read" <[EMAIL PROTECTED]> escreveu na mensagem > [EMAIL PROTECTED]">news:[EMAI

Re: Run process in background

2002-04-20 Thread Rafael Cotta
I am not a Linux expert. But in dos I can execute more than one command at an conce using the pipe simbol. See the following command line: dir > out.txt | notepad out.txt This will execute dir, output to a text file and the open the file using notepad. The malicious hacker may use: command01

Re: Run process in background

2002-04-20 Thread Alex Read
Hi John, Thanks for the warning. I should be OK, my html form is within a firewall and the form only passes parameters to the shell script, the actual command that is executed is hard coded into the cgi script, so if you input the wrong parameter, e.g. rm -rf *, then it won't know what you are t

Re: Run process in background

2002-04-19 Thread John Brooking
This is an aside, but does the statement you are executing come as a parameter from the HTML form? If so, I presume you are aware that this is a very dangerous practice, unless you have secured the form page somehow (behind your firewall, etc.), and even then I wouldn't be comfortable with it. Wha

RE: Run process in background

2002-04-19 Thread leandro
Unsubscribe Unsubscribe "*" Unsubscribe * Unsubscribe me, please from all of these lists. Bye, Leandro. > -Original Message- > From: Alex Read <[EMAIL PROTECTED]> > Sent: Friday, April 19, 2002 4:45 PM > To: [EMAIL PROTECTED] > Subject: Run process in background > > Hi all, > > I h

Re: Run process in background

2002-04-19 Thread fliptop
Alex Read wrote: > I have an html page that when I press the submit button the cgi script > runs a shell script. I am having trouble because the html page hangs > until the shell script has finished, i.e. the shell script process is > not running in the background. I have tried the following; >