UCF STIG Viewer Logo

All run control scripts must have mode 0755 or less permissive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-906 GEN001580 SV-906r2_rule ECLP-1 Medium
Description
If the startup files are writable by other users, the startup files could be modified to insert malicious commands.
STIG Date
UNIX SRG 2013-03-26

Details

Check Text ( C-8021r2_chk )
Check the mode for all run control scripts. If any run control script has a mode more permissive than 0755, this is a finding.

Fix Text (F-1060r2_fix)
Ensure all system startup files have mode 0755 or less permissive. Examine the rc files, and all files in the rc1.d (rc2.d, and so on) directories, and in the /etc/init.d directory to ensure they are not world-writable. If they are world-writable, use the chmod command to correct the vulnerability and to research why.

Procedure:
# chmod 755 startupfile