SV-239130r675198_rule
V-239130
SRG-OS-000341-GPOS-00132
PHTN-67-000059
CAT II
10
If /etc/cron.daily/audit-rotate does not exist, run the following commands:
# touch /etc/cron.daily/audit-rotate
# chown root:root /etc/cron.daily/audit-rotate
# chmod 0700 /etc/cron.daily/audit-rotate
Open /etc/cron.daily/audit-rotate with a text editor.
Set its contents as follows:
#!/bin/bash
service auditd rotate
At the command line, execute the following command:
# cat /etc/cron.daily/audit-rotate
Expected result:
#!/bin/bash
service auditd rotate
If the output of the command does not match the expected result, this is a finding.
V-239130
False
PHTN-67-000059
At the command line, execute the following command:
# cat /etc/cron.daily/audit-rotate
Expected result:
#!/bin/bash
service auditd rotate
If the output of the command does not match the expected result, this is a finding.
M
5323