AlmaLinux OS 9 /etc/crontab file must have mode 0600.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-269186 | SRG-OS-000480-GPOS-00227 | ALMA-09-012120 | SV-269186r1050068_rule | 2025-05-22 | 1 |
| Description |
|---|
| Service configuration files enable or disable features of their respective services that if configured incorrectly can lead to insecure and vulnerable configurations; therefore, service configuration files must have the correct access rights to prevent unauthorized changes. |
| ℹ️ Check |
|---|
| Verify the permissions of /etc/crontab with the following command: $ stat -c "%#a %n" /etc/crontab 0600 If /etc/crontab does not have a mode of "0600", this is a finding. |
| ✔️ Fix |
|---|
| Configure the AlmaLinux OS 9 file /etc/crontab with mode 600. $ chmod 0600 /etc/crontab |