apache account to run cronjob ?
Matthew Miller
mattdm at mattdm.org
Thu Jun 2 18:29:16 UTC 2005
On Thu, Jun 02, 2005 at 11:13:39AM -0700, M E Fieu wrote:
> How to settle this issue. Use apache to run cron job
> to generate those file ? But my apache user account
> has no shell configured. /bin/nologin I need to
> enable its shell ?
Make a group named "mysecret". Put apache in that group -- `gpasswd mysecret
-a apache`, and create a non-privileged user account and put that in same
group, and have that user run the cron job and make the data mode 640
(That's "-rw-r-----"). And restart apache.
--
Matthew Miller mattdm at mattdm.org <http://www.mattdm.org/>
Boston University Linux ------> <http://linux.bu.edu/>
Current office temperature: 78 degrees Fahrenheit.
More information about the fedora-list
mailing list