UBTU-20-010421 - The Ubuntu operating system must configure /var/log/syslog file to be owned by syslog.

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 operating 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 the Ubuntu operating system to have syslog own the '/var/log/syslog' file by running the following command:

$ sudo chown syslog /var/log/syslog

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_20-04_LTS_V1R10_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-11b., CAT|II, CCI|CCI-001314, Rule-ID|SV-238342r654201_rule, STIG-ID|UBTU-20-010421, Vuln-ID|V-238342

Plugin: Unix

Control ID: 1ff1037abf404bcbf5c54e2b5c8877e0a2db7cfe09a9724d34b398356ba75aad