Hi, Look at /etc/cron.d !! I think it can help you! M?rio Gamito escreveu:> 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]# > -------------------------------------------- > > > Warm Regards, > M?rio Gamito > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos >-- Marcelo Renan Becher 47-9919-7594
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]# -------------------------------------------- Warm Regards, M?rio Gamito
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/>