{"description": "The file <tt>/etc/cron.allow</tt> should exist and should be used instead\nof <tt>/etc/cron.deny</tt>.", "rationale": "Access to <tt>crontab</tt> should be restricted.\nIt is easier to manage an allow list than a deny list.\nTherefore, <tt>/etc/cron.allow</tt> needs to be created and used instead of <tt>/etc/cron.deny</tt>.\nRegardless of the existence of any of these files, the root administrative user is always allowed to setup a crontab.", "severity": "medium", "references": {"cis": ["2.4.1.8"]}, "control_references": {"cis": ["2.4.1.8"]}, "components": [], "identifiers": {}, "ocil_clause": "the file /etc/cron.allow does not exist", "ocil": "The file <tt>/etc/cron.allow</tt> should exist.\nThis can be checked by running the following command:\n<pre>\nstat /etc/cron.allow\n</pre>\nand the output should list the file.", "oval_external_content": null, "fixtext": "", "checktext": "", "vuldiscussion": "", "srg_requirement": "", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {}, "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": "Ensure that /etc/cron.allow exists", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/services/cron_and_at/restrict_at_cron_users/file_cron_allow_exists/rule.yml", "template": {"name": "file_existence", "vars": {"filepath": "/etc/cron.allow", "exists": "true", "fileuid": "0", "filemode": "0640"}, "backends": {}}}