Rule ID
SV-45001r2_rule
Version
V1R12
CCIs
The /etc/shadow file contains the list of local system accounts. It is vital to system security and must be protected from unauthorized modification. The file also contains password hashes which must not be accessible to users other than root.
Check the ownership of the /etc/shadow file. Procedure: # ls -lL /etc/shadow If the file is not group-owned by root, bin, sys, or shadow, this is a finding.
Change the group-owner of the /etc/shadow file. Procedure: # chgrp root /etc/shadow