The Photon operating system "/var/log" directory must be owned by root.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-256515 | SRG-OS-000206-GPOS-00084 | PHTN-30-000040 | SV-256515r958566_rule | 2024-12-16 | 1 |
Description |
---|
Only authorized personnel should be aware of errors and the details of the errors. Error messages are an indicator of an organization's operational state and can provide sensitive information to an unprivileged attacker. |
ℹ️ Check |
---|
At the command line, run the following command: # stat -c "%n is owned by %U and group owned by %G" /var/log If the "/var/log directory" is not owned by root, this is a finding. |
✔️ Fix |
---|
At the command line, run the following command: # chown root:root /var/log |