httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Query regarding CGI/Crontab
Date Mon, 05 Sep 2005 16:45:56 GMT
On 9/5/05, Pankaj Kumar <pankaj2.kumar@flextronicssoftware.com> wrote:
> I want to schedule a perl script in crontab using a CGI script. If i try to
> append in the file ie /var/spool/cron/username then apache user does not
> have rights to modify this. If i give root rights to apache then it could
> be very harmful . how can i make entry into cron from script.

Google on "sudo".  But there is no perfectly-safe way to do this.  It
will involve risks.  You should see if you can at least limit it to
the cron of a non-priveleged account.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message