SV-245557r991589_rule
V-245557
SRG-OS-000480-GPOS-00227
AIX7-00-002140
CAT II
10
Change the ownership of the file to root using command:
# chown root /etc/hosts
Check the ownership of /etc/hosts using command:
# ls -al /etc/hosts
The above command should yield the following output:
-rw-r----- 1 root system 993 Mar 11 07:04 /etc/hosts
If the file is not owned by root, this is a finding.
V-245557
False
AIX7-00-002140
Check the ownership of /etc/hosts using command:
# ls -al /etc/hosts
The above command should yield the following output:
-rw-r----- 1 root system 993 Mar 11 07:04 /etc/hosts
If the file is not owned by root, this is a finding.
M
4012