[Top][All Lists]

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

RE: [Pyatcron-devel-list] Got root?

From: Brian Dee
Subject: RE: [Pyatcron-devel-list] Got root?
Date: Wed, 12 Nov 2003 16:13:13 -0700

On Wed, 2003-11-12 at 15:57, Childers, Matthew wrote:
I just did a little research on cron and found this: it looks like all
crontab does is check your syntax so you aren't installing bad crontabs.
>From what I can tell when cron loads it looks in /var/spool/cron for
crontabs of users in /etc/passwd.  Then it also looks for /etc/crontab.
It will look for mod times on it's spool directory and /etc/crontab
every minute, and if one has been modified, then it will reload all
crontabs.  So I tried updating my crontab in /var/spool/cron, as root,
and sure enough it worked.  So it looks like all we will have to do is
edit the /var/spool/cron directly (once we figure out the permissions
problem), and it should work.

Schweet!!! You da man. ; ) So, what do you all think would be best concerning the permissions? I think that pam would be the best solution. In my experience at least, I have more jobs run as root than any other user.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]