UCF STIG Viewer Logo

All system start-up files must be group-owned by root, sys, bin, other, or system.


Overview

Finding ID Version Rule ID IA Controls Severity
V-4090 GEN001680 SV-37269r1_rule ECLP-1 Medium
Description
If system start-up files do not have a group owner of root or a system group, the files may be modified by malicious users or intruders.
STIG Date
Red Hat Enterprise Linux 5 Security Technical Implementation Guide 2017-03-01

Details

Check Text ( C-35960r1_chk )
Check run control scripts' group ownership.

Procedure:
# ls -lL /etc/rc* /etc/init.d

Alternatively:
# find /etc -name "[SK][0-9]*"|xargs stat -L -c %G:%n|egrep -v "^(root|sys|bin|other):"
If any run control script is not group-owned by root, sys, bin, or other system groups, this is a finding.
Fix Text (F-31216r1_fix)
Change the group ownership of the run control script(s) with incorrect group ownership.

Procedure:
# chgrp root
# find /etc -name "[SK][0-9]*"|xargs stat -L -c %G:%n|egrep -v "^(root|sys|bin|other):"|cut -d: -f2|xargs chgrp root