{"description": "\nTo properly set the group owner of <code>/etc/cron.daily</code>, run the command:\n\n  <pre>$ sudo chgrp root /etc/cron.daily</pre>\n  ", "rationale": "Service configuration files enable or disable features of their respective services that if configured incorrectly\ncan lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the\ncorrect group to prevent unauthorized changes.", "severity": "medium", "references": {"cis-csc": ["12", "13", "14", "15", "16", "18", "3", "5"], "cobit5": ["APO01.06", "DSS05.04", "DSS05.07", "DSS06.02"], "isa-62443-2009": ["4.3.3.7.3"], "isa-62443-2013": ["SR 2.1", "SR 5.2"], "iso27001-2013": ["A.10.1.1", "A.11.1.4", "A.11.1.5", "A.11.2.1", "A.13.1.1", "A.13.1.3", "A.13.2.1", "A.13.2.3", "A.13.2.4", "A.14.1.2", "A.14.1.3", "A.6.1.2", "A.7.1.1", "A.7.1.2", "A.7.3.1", "A.8.2.2", "A.8.2.3", "A.9.1.1", "A.9.1.2", "A.9.2.3", "A.9.4.1", "A.9.4.4", "A.9.4.5"], "nist": ["CM-6(a)", "AC-6(1)"], "nist-csf": ["PR.AC-4", "PR.DS-5"], "srg": ["SRG-OS-000480-GPOS-00227"], "cis": ["2.4.1.4"], "pcidss4": ["2.2.6", "2.2"]}, "control_references": {"cis": ["2.4.1.4"], "pcidss4": ["2.2.6", "2.2"]}, "components": [], "identifiers": {}, "ocil_clause": "/etc/cron.daily does not have a group owner of\nroot\n", "ocil": "To check the group ownership of <code>/etc/cron.daily</code>,\nrun the command:\n<pre>$ ls -lL /etc/cron.daily</pre>\nIf properly configured, the output should indicate the following group-owner:\n\n  <code>root</code>\n  ", "oval_external_content": null, "fixtext": " Change the group of the directory /etc/cron.daily/ to root by running the following command:\n$ sudo chgrp root /etc/cron.daily/", "checktext": "", "vuldiscussion": "", "srg_requirement": " The Ubuntu 22.04 /etc/cron.daily directory must be group-owned by root.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 cron configuration files directory must be group-owned by root.", "vuldiscussion": "Service configuration files enable or disable features of their respective services that if configured incorrectly\ncan lead to insecure and vulnerable configurations. Therefore, service configuration files should be owned by the\ncorrect group to prevent unauthorized changes.", "checktext": "Verify the group ownership of all cron configuration files with the following command:\n\n$ stat -c \"%G %n\" /etc/cron*\n\nroot /etc/cron.d\nroot /etc/cron.daily\nroot /etc/cron.deny\nroot /etc/cron.hourly\nroot /etc/cron.monthly\nroot /etc/crontab\nroot /etc/cron.weekly\n\nIf any crontab is not group owned by root, this is a finding.", "fixtext": "Configure any cron configuration not group-owned by root with the following command:\n\n$ sudo chgrp root [cron config file]"}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Verify Group Who Owns cron.daily", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/cron_and_at/file_groupowner_cron_daily/rule.yml", "template": {"name": "file_groupowner", "vars": {"filepath": "/etc/cron.daily/", "gid_or_name": "0"}, "backends": {}}}