Rule ID
SV-239536r662059_rule
Version
V2R2
CCIs
CCI-000382
If the SMTP service log file is more permissive than 0644, unauthorized users may be allowed to change the log file.
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 the log file permissions are greater than "0644", this is a finding.
Change the mode of the sendmail log files to "0644": # chmod 0644 <sendmail log file>