[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] cgi & perl webmail questionon a RaQ4
- Subject: Re: [cobalt-users] cgi & perl webmail questionon a RaQ4
- From: "Per M Knutsen" <per.knutsen@xxxxxxxxxxxxxx>
- Date: Wed Sep 19 04:09:42 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
> I trying to setup this webmail program in my box
> Here is what I get, when I try to run the script;
>
> CGIWrap Error: Execution of this script not permitted
> Execution of (root) is not permitted for the following reason:
>
> Note: I set everything up under super user root.......
First, cgiwrap has a point. Executing your script as root is not such a good
idea (which is another one of my gross understatements...). One day someone
finds a bughole in your program, and whooopla, your box suddenly belongs to
someone else. If you can run your script as another user (e.g. the
siteadmin), do so.
If this does not work, you may consider not running under cgiwrap at all.
The script will then run as httpd (not 100% sure on that, though). Search
the archives for how to disable cgi-wrap (you just need to add two lines in
your .htaccess file). Its not the safest thing to do, but far better
(there's another one...) than running as root.
Per M Knutsen
http://nethut.no/~pknutsen