3.6.2.2 /etc/mail/sendmail.cf - permissions and ownership

Information

The recommended permissions and ownership for /etc/mail/sendmail.cf are applied.

Rationale:

The /etc/mail/sendmail.cf file is used by the sendmail daemon to determine its default configuration. This file must be protected from unauthorized access and modifications.

Solution

Set the recommended permissions and ownership on /etc/mail/sendmail.cf:

chmod u=rw,g=r,o= /etc/mail/sendmail.cf
chown root /etc/mail/sendmail.cf

Default Value:

-rw-r--r-- root system sendmail.cf

See Also

https://workbench.cisecurity.org/files/4119

Item Details

Category: ACCESS CONTROL, MEDIA PROTECTION

References: 800-53|AC-3, 800-53|AC-5, 800-53|AC-6, 800-53|MP-2, CSCv7|14.6

Plugin: Unix

Control ID: 4e82c1fcacec18e6dfe4aea7aa48884f5ae9873d286c197345dba940855b7d2f