[CentOS] Strangest thing (crond every 5 min.)

Thu Apr 14 17:31:32 UTC 2005
Johnny Hughes <mailing-lists at hughesjr.com>

On Thu, April 14, 2005 10:52 am, Mário Gamito said:
> Hi,
>
> I've installed CentOS-4 4 days ago.
>
> Now, every 5 minutes, crond opens and close a root session, with no
> other info. Example:
>
> Apr 14 16:25:01 tux crond(pam_unix)[4031]: session opened for user root
> by (uid=0)
> Apr 14 16:25:02 tux crond(pam_unix)[4031]: session closed for user root
>
>
> Every five minutes the same thing.
>
> I have nothing in /etc/crontab that makes such a thing.
>
> Does anyone knows why is this happening and what is crond doing ?
>
> Any help would be apreciated.
>
>
> /etc/crontab:
> --------------------
> [root at tux cron.daily]# cat /etc/crontab
> SHELL=/bin/bash
> PATH=/sbin:/bin:/usr/sbin:/usr/bin
> MAILTO=root
> HOME=/
>
> # run-parts
> 01 * * * * root run-parts /etc/cron.hourly
> 02 4 * * * root run-parts /etc/cron.daily
> 22 4 * * 0 root run-parts /etc/cron.weekly
> 42 4 1 * * root run-parts /etc/cron.monthly
> 00 3 * * 5 root /usr/local/bin/backup
> [root at tux cron.daily]#
> --------------------------------------------

Believe it or not, this is a normal thing.  Crond logs in as root at least
every 5 minutes.  The way the system is setup by default, that will cause
a log entry.

https://www.redhat.com/archives/fedora-list/2005-February/msg06858.html

https://www.redhat.com/archives/fedora-list/2005-February/msg06867.html

It needs to fixed (in my opinion) ... I'll see what I can figure out.
-- 
Johnny Hughes
<http://www.HughesJR.com/>