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: f087ba857c7cc2ce753a2a9534e6eaa1e871c49c21a517eff86ccbb23316b5aa