mediumsystemverified ✓rollback-safe
Ensure permissions on /etc/cron.weekly are configured
cron-weekly-permissions · RHEL ≥ 8 · 1 impl
Description
The /etc/cron.weekly file must have correct ownership and permissions.
Rationale
Incorrect permissions on /etc/cron.weekly could allow unauthorized access or modification of sensitive system data.
Check → Remediate
Checkfile_permission
- path:
- /etc/cron.weekly
- owner:
- root
- group:
- root
- mode:
- 0700
Remediatefile_permissions
- path:
- /etc/cron.weekly
- owner:
- root
- group:
- root
- mode:
- 0700
Framework references
CIS
rhel9 2.4.1.5rhel8 2.4.1.5rhel10 2.4.1.5
NIST 800-53
CM-6
Live verification
rhel10:checkrhel8:checkrhel9:check
#file-permissions#cron