SV-282663r1200969_rule
V-282663
SRG-OS-000480-GPOS-00227
TOSS-05-000167
CAT II
10
Change the owner of the file /etc/shadow to root using the following command:
$ sudo chown root /etc/shadow
Verify the ownership of the "/etc/shadow" file using the following command:
$ sudo stat -c "%U %n" /etc/shadow
root /etc/shadow
If "/etc/shadow" file does not have an owner of "root", this is a finding.
V-282663
False
TOSS-05-000167
Verify the ownership of the "/etc/shadow" file using the following command:
$ sudo stat -c "%U %n" /etc/shadow
root /etc/shadow
If "/etc/shadow" file does not have an owner of "root", this is a finding.
M
5738