UCF STIG Viewer Logo

The alias file must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-831 GEN004360 SV-831r2_rule ECLP-1 Medium
Description
If the alias file is not owned by root, an unauthorized user may modify the file to add aliases to run malicious code or redirect email.
STIG Date
VMware ESX 3 Server 2016-05-13

Details

Check Text ( C-614r2_chk )
Find the aliases file on the system.

Procedure:
# find / -name aliases -depth -print

Check the ownership of the alias file.

Procedure:
# ls -lL

If the file is not owned by root, this is a finding.
Fix Text (F-985r2_fix)
Change the owner of the /etc/mail/aliases file (or equivalent, such as /usr/lib/aliases) to root.

Procedure:
# chown root /etc/mail/aliases