Re: execute command from HTML page
On Sun, 10 Nov 2002 21:27:22 +0000
Debian User <hughsaunders@ntlworld.com> 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
> > it
> > to execute. Provided that apache and user permissions were set up
> > correctly.
> 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]. -this is a router box and
> currently only has two users: root and hugh, root is root and hugh is
> used for my email, i cannot start wvdial from hugh account. How would
> i give hugh[or www-data] the privaleges to start wvdial
As root:
addgroup modem
chgrp modem /dev/ttyS1
adduser hugh modem
adduser www-data modem
G
--
Configure your Email to send TEXT ONLY -- See the following page:
http://expita.com/nomime.html
gvl2 (Gerald)
AirBall the Rolling Basket Case (1969 Standard Beetle)
LifeSaver (1974 Bay Window Bus)
http://www.phorce1.com
Reply to: