SV-220098r603266_rule
V-220098
SRG-OS-000480
GEN004370
CAT II
10
Change the group owner of the /etc/mail/aliases files.
Procedure:
# chgrp bin /etc/mail/aliases
# chgrp smmsp /etc/mail/aliases.db
Find the alias files on the system.
Procedure:
# egrep '^O(A| AliasFile)' /etc/mail/sendmail.cf
If the "alias file" is an NIS or LDAP map, this check is not applicable. The default location is /etc/mail/aliases.
Check the group ownership of the alias file and the hashed version of it used by sendmail.
Procedure:
# ls -lL /etc/mail/aliases /etc/mail/aliases.db
If the file is not group-owned by root, sys, smmsp, or bin, this is a finding.
V-220098
False
GEN004370
Find the alias files on the system.
Procedure:
# egrep '^O(A| AliasFile)' /etc/mail/sendmail.cf
If the "alias file" is an NIS or LDAP map, this check is not applicable. The default location is /etc/mail/aliases.
Check the group ownership of the alias file and the hashed version of it used by sendmail.
Procedure:
# ls -lL /etc/mail/aliases /etc/mail/aliases.db
If the file is not group-owned by root, sys, smmsp, or bin, this is a finding.
M
4061