UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

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 2016-12-16

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