Rule ID
SV-256562r991589_rule
Version
V1R4
CCIs
CCI-000366
If system startup scripts are accessible to unauthorized modification, this could compromise the system on startup.
At the command line, run the following command:
# find /etc/rc.d/* -xdev -type f -a '(' -perm -002 -o -not -user root -o -not -group root ')' -exec ls -ld {} \;
If any files are returned, this is a finding.At the command line, run the following commands for each returned file: # chmod o-w <file> # chown root:root <file>