UCF STIG Viewer Logo

The /etc/sysctl.conf file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-4334 GEN000000-LNX00480 SV-62929r1_rule Medium
Description
The sysctl.conf file specifies the values for kernel parameters to be set on boot. These settings can affect the system's security.
STIG Date
Oracle Linux 5 Security Technical Implementation Guide 2020-02-25

Details

Check Text ( C-51753r1_chk )
Check /etc/sysctl.conf ownership.
# ls -lL /etc/sysctl.conf
If /etc/sysctl.conf is not owned by root, this is a finding.
Fix Text (F-53503r1_fix)
Use the chown command to change the owner of /etc/sysctl.conf to root:
# chown root /etc/sysctl.conf