SV-99181r1_rule
V-88531
SRG-OS-000096-GPOS-00050
VROM-SL-000555
CAT II
10
Edit the "/etc/aliases" file (alternatively, /usr/lib/sendmail.cf). Locate the entries executing a program. They will appear similar to the following line:
Aliasname: : /usr/local/bin/ls (or some other program name)
Ensure "root" owns the programs and the directory(ies) they reside in by using the chown command to change owner to "root":
# chown root <file or directory name>
Verify the ownership of files referenced within the sendmail aliases file:
# more /etc/aliases
Examine the aliases file for any utilized directories or paths:
# ls -lL <directory or file path>
Check the owner for any paths referenced. Check if the file or parent directory is owned by root.
If the file or parent directory is not owned by "root", this is a finding.
V-88531
False
VROM-SL-000555
Verify the ownership of files referenced within the sendmail aliases file:
# more /etc/aliases
Examine the aliases file for any utilized directories or paths:
# ls -lL <directory or file path>
Check the owner for any paths referenced. Check if the file or parent directory is owned by root.
If the file or parent directory is not owned by "root", this is a finding.
M
3461