UCF STIG Viewer Logo

Cron and crontab directories must be group-owned by root, sys, bin or cron.


Overview

Finding ID Version Rule ID IA Controls Severity
V-981 GEN003140 SV-45609r1_rule Medium
Description
To protect the integrity of scheduled system jobs and to prevent malicious modification to these jobs, crontab files must be secured. Failure to give group-ownership of cron or crontab directories to a system group provides the designated group and unauthorized users with the potential to access sensitive information or change the system configuration which could weaken the system's security posture.
STIG Date
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-42975r1_chk )
Check the group owner of cron and crontab directories.

Procedure:
# ls -ld /var/spool/cron /var/spool/cron/tabs


ls -ld /etc/crontab /etc/cron.{d,daily,hourly,monthly,weekly}
or
# ls -ld /etc/cron*|grep -v deny


If a directory is not group-owned by root, sys, bin, or cron, this is a finding.
Fix Text (F-39007r1_fix)
Change the group owner of cron and crontab directories.
# chgrp root