Re: [users@httpd] Query regarding CGI/Crontab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/5/05, Pankaj Kumar <pankaj2.kumar@xxxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux