Rule ID
SV-239535r662056_rule
Version
V2R2
CCIs
CCI-000382
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.
Check the permissions on the mail log files: # ls -la /var/log/mail # ls -la /var/log/mail.info # ls -la /var/log/mail.warn # ls -la /var/log/mail.err If any mail log file is not owned by "root", this is a finding.
Change the ownership of the sendmail log files to "root": # chown root <sendmail log file>