At 07:14 AM 09/25/2001 -0700, parvatam jagannadh rao wrote:
>Hi
>
>
>I want to call a system command (linuxconf module
>dnsconf) to pass parameters to console but i am unable
>to do from a cgi program. if i execute from console
>it is working fine.

The reason why it wont work via CGI is because the webserver runs as a
non-privledged user, and linuxconf requires root privs.

Whatever you're trying to do sounds rather dangerous. If you are intent on
doing system administration via a web-browser, I would recommend you take a
look at the "Webmin" package instead of trying to re-invent this particular
wheel.

I personally dont use Webmin, cause it still freaks me out to be doing
root-level configurations using a webbrowser, unless you restrict access
only to localhost.

HTH, Aloha,
mel

--
mel matsuoka                    Hawaiian Image Productions
Chief Executive Alphageek              (vox)1.808.531.5474
[EMAIL PROTECTED]                  (fax)1.808.526.4040

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to