Ryan,
I had to do this to get my x10 flipit script to run. the solution is to
use sudo. basically, you run visudo and specify which users can run which
commands as root.
You're suggesting that you would allow apache sudo access, correct? So
wouldn't any user on your system then be able to create a script using
sudo to gain root privileges? That would be bad, methinks.
Perhaps I'm misunderstanding something?
Shouldn't there be a safer way? Some sort of configuration with which
you could specify a particular script can run as root rather than the
whole webserver.
--
8^)
Laterz-
~Alvin
http://CoolAJ86.Havenite.net
---
Pencils are like dogs. ~ Chase Quintana @ SCS during lunch detention
begin:vcard
fn:Alvin A ONeal Jr
n:ONeal;Alvin
adr;dom:;;34 Fletcher Lane;Shelburne;VT;05482
email;internet:[EMAIL PROTECTED]
tel;work:1.802.877.2938
tel;home:1.802.985.5277
tel;cell:1.802.578.0599
note;quoted-printable:DoB: 19860616=0D=0A=
x-mozilla-html:FALSE
url:http://coolaj86.havenite.net
version:2.1
end:vcard
--------------------
BYU Unix Users Group
http://uug.byu.edu/
The opinions expressed in this message are the responsibility of their
author. They are not endorsed by BYU, the BYU CS Department or BYU-UUG.
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list