9.1.8 Verify User/Group Ownership on /etc/gshadow

Information

The /etc/gshadow file contains information about group accounts that is critical to the security of those accounts, such as the hashed password and other security information.

Rationale:

If attackers can gain read access to the /etc/gshadow file, they can easily run a password cracking program against the hashed password to break it. Other security information that is stored in the /etc/gshadow file (such as expiration) could also be useful to subvert the group accounts.

Solution

If the permissions of the /etc/gshadow file are incorrect, run the following command to correct them:

# /bin/chown root:root /etc/gshadow

Default Value:

OS Default: Yes

See Also

https://workbench.cisecurity.org/files/3096