UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SMTP service log file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-837 GEN004480 SV-45859r1_rule Medium
Description
If the SMTP service log file is not owned by root, then unauthorized personnel may modify or delete the file to hide a system compromise.
STIG Date
SUSE Linux Enterprise Server v11 for System z Security Technical Implementation Guide 2018-09-19

Details

Check Text ( C-43155r1_chk )
Locate any mail log files by checking the syslog configuration file.

Procedure:
# more /etc/rsyslog.conf
The check procedure is the same for both sendmail and Postfix.
Identify any log files configured for the "mail" service (excluding mail.none) at any severity level and check the ownership

Procedure:
# ls -lL

If any mail log file is not owned by root, this is a finding.
Fix Text (F-39241r1_fix)
Change the ownership of the sendmail log file.

Procedure:
The fix procedure is the same for both sendmail and Postfix.
# chown root