Linux Log中大量 crond(pam_unix)[10094]: session opened for user root by (uid=0)

tolywang發表於2010-09-13

Red Hat Enterprise Linux AS release 4 (Nahant)
Kernel 2.6.9-5.ELsmp on an i686

問題未解決 -  


/var/log/message 檔案 : 

Sep 13 04:40:01 Brazil_DMDI sshd(pam_unix)[9495]: session closed for user oracle
Sep 13 04:40:38 Brazil_DMDI sshd(pam_unix)[9687]: session opened for user root by root(uid=0)
Sep 13 04:41:01 Brazil_DMDI crond(pam_unix)[9805]: session opened for user root by (uid=0)
Sep 13 04:41:01 Brazil_DMDI crond(pam_unix)[9805]: session closed for user root
Sep 13 04:42:01 Brazil_DMDI crond(pam_unix)[10094]: session opened for user root by (uid=0)
Sep 13 04:42:01 Brazil_DMDI crond(pam_unix)[10094]: session closed for user root
Sep 13 04:43:01 Brazil_DMDI crond(pam_unix)[10322]: session opened for user root by (uid=0)
Sep 13 04:43:01 Brazil_DMDI crond(pam_unix)[10322]: session closed for user root
Sep 13 04:44:01 Brazil_DMDI crond(pam_unix)[10594]: session opened for user root by (uid=0)
Sep 13 04:44:01 Brazil_DMDI crond(pam_unix)[10594]: session closed for user root
Sep 13 04:45:01 Brazil_DMDI crond(pam_unix)[10845]: session opened for user root by (uid=0)

                                                     
/var/log/cron 檔案 : 

Sep 13 04:34:01 Brazil_DMDI crond[7564]: (root) CMD (sh /data/run/loadavg 1>/data/run/log/loadavg.log

2>>/data/run/log/loadavg.bad)
Sep 13 04:35:02 Brazil_DMDI crond[7855]: (root) CMD (sh /data/run/loadavg 1>/data/run/log/loadavg.log

2>>/data/run/log/loadavg.bad)
Sep 13 04:36:01 Brazil_DMDI crond[8220]: (root) CMD (sh /data/run/loadavg 1>/data/run/log/loadavg.log

2>>/data/run/log/loadavg.bad)
Sep 13 04:37:01 Brazil_DMDI crond[8557]: (root) CMD (sh /data/run/loadavg 1>/data/run/log/loadavg.log

2>>/data/run/log/loadavg.bad)
Sep 13 04:38:01 Brazil_DMDI crond[8865]: (root) CMD (sh /data/run/loadavg 1>/data/run/log/loadavg.log

2>>/data/run/log/loadavg.bad)
Sep 13 04:39:01 Brazil_DMDI crond[9152]: (root) CMD (sh /data/run/loadavg 1>/data/run/log/loadavg.log

2>>/data/run/log/loadavg.bad)
Sep 13 04:40:01 Brazil_DMDI crond[9489]: (root) CMD (sh /data/run/loadavg 1>/data/run/log/loadavg.log


修改/etc/syslog.conf 中的message輸出部分,在其中加入cron.none;auth.none .

[root@Brazil_DMDI etc]# vi  syslog.conf
*.info;mail.none;authpriv.none;cron.none;auth.none      /var/log/messages

重新啟動服務 。
[root@Brazil_DMDI etc]# /etc/init.d/crond  restart
Stopping crond: [  OK  ]
Starting crond: [  OK  ]
[root@Brazil_DMDI etc]#

 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-673759/,如需轉載,請註明出處,否則將追究法律責任。

相關文章