Set User/Group Owner and Permission on /etc/cron.weeklyID: oval:org.secpod.oval:def:92253 | Date: (C)2023-08-23 (M)2023-12-20 |
Class: COMPLIANCE | Family: unix |
The /etc/cron.weekly directory contains system cron jobs that need to run on a weekly basis. The files in this directory cannot be manipulated by the crontab command, but are instead edited by system administrators using a text editor. The commands below restrict read/write and search access to user and group root, preventing regular users from accessing this directory.