[CentOS] crontab for nobody
Stephen Harris
lists at spuddy.org
Sun Jul 20 20:23:52 UTC 2008
On Sun, Jul 20, 2008 at 07:18:05PM +0100, Anne Wilson wrote:
> On Sunday 20 July 2008 17:44:23 Bill Campbell wrote:
> > Does anything show up with ``find /var/spool/cron -type f''?
> >
> /var/spool/cron/apache
> /var/spool/cron/rpc
[43 more lines deleted]
Wow, looks like somebody or something has created crontab entries for
every user on your machine. That's wrong. Typically, out of the box,
there are no entries.
What does
find /var/spool/cron -type f ! -size 0
show?
Hopefully it will be nothing.
This can be used to delete all the zero length entries:
find /var/spool/cron -type f -size 0 -exec rm {} \;
Now this is a cleanup of the problem, but it doesn't explain _how_ those
entries were created in the first place. Are you using some form of
automated admin interface?
--
rgds
Stephen
More information about the CentOS
mailing list