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

Re: apache account to run cronjob ?



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 mattdm org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 78 degrees Fahrenheit.


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