RHEL-10-400225 - RHEL 10 must enforce mode "0640" or less permissive for the "/var/log/messages" file.

Information

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 or can identify the RHEL 10 system or platform. Additionally, personally identifiable information (PII) and operational information must not be revealed through error messages to unauthorized personnel or their designated representatives.

The structure and content of error messages must be carefully considered by the organization and development team. The extent to which the information system is able to identify and handle error conditions is guided by organizational policy and operational requirements.

Solution

Configure RHEL 10 so that the "/var/log/messages" file has a mode of "0640" by running the following command:

$ sudo chmod 0640 /var/log/messages

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_10_V1R1_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-281062r1165541_rule, STIG-ID|RHEL-10-400225, Vuln-ID|V-281062

Plugin: Unix

Control ID: 7de280ad1fe13a4be7792d580aa9db5808abd212f468a0fd009875aa25d1e540