Re: execute command from HTML page

2002-11-12 Thread Hugh Saunders
On Tuesday 12 November 2002 1:15 pm, andrej hocevar wrote: > #! /bin/bash > pon provider > > echo -e "Location: http://thehost/conpage.html \n\n" thanks, interstingly pon btopenworld works but wvdial doesnt -must be to do with users and permissions [lots of "Permission denied" errrors in /var/log

Re: execute command from HTML page

2002-11-12 Thread andrej hocevar
On Tue, Jan 15, 2002 at 08:31:36AM +, Hugh Saunders wrote: > On Tuesday 12 November 2002 12:40 am, sean finney wrote: > > just to chime in on this, you should think of the security implications > > of what you're doing. if you're putting a button on a webpage that > > re-initializes your net c

Re: execute command from HTML page

2002-11-12 Thread Hugh Saunders
On Tuesday 12 November 2002 12:40 am, sean finney wrote: > just to chime in on this, you should think of the security implications > of what you're doing. if you're putting a button on a webpage that > re-initializes your net connection, then anyone feeling particularly > riley could keep you with

Re: execute command from HTML page

2002-11-11 Thread John Hasler
Debian User writes: > will try that, am unsure of how to give a lowly user [such as www-data] > enough rights to access wvdial[complains that it cannot acess device > /dev/ttyS1 which is the modem]. Don't use wvdial. Configure ppp with pppconfig and add the user to the 'dip' group (you can do tha

Re: execute command from HTML page

2002-11-11 Thread Jon-o Addleman
On Sun, Nov 10, 2002 at 09:27:22PM +, Debian User spake thusly: > On Mon, Nov 11, 2002 at 03:44:33PM +1030, Barney Wrightson wrote: > > Actually you wouldn't even need the HTML at all, you could simply > > enter > > the address of the cgi script into your browser and load it to cause > > it >

Re: execute command from HTML page

2002-11-11 Thread sean finney
hiyas, just to chime in on this, you should think of the security implications of what you're doing. if you're putting a button on a webpage that re-initializes your net connection, then anyone feeling particularly riley could keep you without an internet connection. instead of apache, i'd rec

Re: execute command from HTML page

2002-11-11 Thread Gerald Livingston
On Sun, 10 Nov 2002 21:27:22 + Debian User <[EMAIL PROTECTED]> wrote: > On Mon, Nov 11, 2002 at 03:44:33PM +1030, Barney Wrightson wrote: > > Actually you wouldn't even need the HTML at all, you could simply > > enter > > the address of the cgi script into your browser and load it to cause >

Re: execute command from HTML page

2002-11-11 Thread Debian User
On Mon, Nov 11, 2002 at 03:44:33PM +1030, Barney Wrightson wrote: > Actually you wouldn't even need the HTML at all, you could simply > enter > the address of the cgi script into your browser and load it to cause > it > to execute. Provided that apache and user permissions were set up > correctly

Re: execute command from HTML page

2002-11-10 Thread Barney Wrightson
Matthias Hentges wrote: Am Mon, 2002-11-11 um 00.06 schrieb Hugh Saunders: hello, i have had major hassle attemting to use diald [wvdial works fine but diald does not] so, i want to create a simple html page to serve with apache so that machines on my network can click on one of two links 1: dia

Re: execute command from HTML page

2002-11-10 Thread Matthias Hentges
Am Mon, 2002-11-11 um 00.06 schrieb Hugh Saunders: > hello, i have had major hassle attemting to use diald > [wvdial works fine but diald does not] > so, i want to create a simple html page to serve with apache so that machines on my >network can click on one of two links > 1: dialup -execute wvdi