Thanks for your replies. Actually, I'd like to be able to modify system
config files, stop and restart daemons, etc.

I'm not aware of the different ways to accomplish this; any tips would be
appreciated.

The server is in a "protected" environment.....


--Bill


-----Original Message-----
From: Farouk Khawaja [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 27, 2001 10:44 PM
To: Bill Pierson; [EMAIL PROTECTED]
Subject: Re: Running PERL as root

---- Bill Pierson <[EMAIL PROTECTED]> wrote:
> I have a quick question about running a perl
program as root via CGI.
> I would assume it's platform dependant, and in my
situation I have Linux
> Redhat 7.1 w/Apache 1.3.19 webserver.
>
> This question is a little off-topic, however I'm
guessing that a few of you
> may have tackled this issue before.
>
> Thanks again,
> --Bill

I wouldn't run any CGI script as root, no matter how
securly I belive I've written it.  What are you
trying to do that would require root permission to
accomplish?

Maybe you can explore alternatives.



Reply via email to