4.5.4.4 /etc/mail/sendmail.cf - access control

Information

The access controls 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.system /etc/mail/sendmail.cf
trustchk -u /etc/mail/sendmail.cf mode owner group

Default Value:

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

See Also

https://workbench.cisecurity.org/benchmarks/13069

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-3

Plugin: Unix

Control ID: 262e9d4b6524a8881303a70c05124d5d0f17903676bf3ac7cec604ac3a30b791