SV-257888r1208771_rule
V-257888
SRG-OS-000480-GPOS-00227
RHEL-09-232040
CAT II
10
Run the following commands to restore the permissions of cron configuration files and directories to the operating system defaults:
$ sudo dnf reinstall cronie crontabs
$ rpm --setugids cronie crontabs
$ rpm --setperms cronie crontabs
Run the following command to verify that the owner, group, and mode of cron configuration files and directories match the operating system defaults:
$ rpm --verify cronie crontabs | awk '! ($2 == "c" && $1 ~ /^.\..\.\.\.\..\./) {print $0}'
If the command returns any output, this is a finding.
V-257888
False
RHEL-09-232040
Run the following command to verify that the owner, group, and mode of cron configuration files and directories match the operating system defaults:
$ rpm --verify cronie crontabs | awk '! ($2 == "c" && $1 ~ /^.\..\.\.\.\..\./) {print $0}'
If the command returns any output, this is a finding.
M
5551