Re: crontab for nobody

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



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux