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-63859r1_rule 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
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-52397r1_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-54433r2_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