The Photon operating system must protect all "sysctl" configuration files from unauthorized access.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-256582 | SRG-OS-000480-GPOS-00227 | PHTN-30-000113 | SV-256582r991589_rule | 2024-12-16 | 1 |
Description |
---|
The "sysctl" configuration file specifies values for kernel parameters to be set on boot. Incorrect or malicious configuration of these parameters can have a negative effect on system security. |
ℹ️ Check |
---|
At the command line, run the following command: # find /etc/sysctl.conf /etc/sysctl.d/* -xdev -type f -a '(' -perm -002 -o -not -user root -o -not -group root ')' -exec ls -ld {} \; If any files are returned, this is a finding. |
✔️ Fix |
---|
At the command line, run the following commands for each returned file: # chmod 600 <file> # chown root:root <file> |