7.1.8 Ensure permissions on /etc/gshadow- are configured
Audit#
Run the following command to verify /etc/gshadow- is mode 640 or more restrictive, Uid is 0/root and Gid is 0/root:
Example:
Remediation#
Run one of the following commands to set ownership of /etc/gshadow- to root and group to either root or shadow:
Run the following command to remove excess permissions form /etc/gshadow-:
Default Value: Access: (0640/-rw-r-----) Uid: ( 0/ root) Gid: ( 42/ shadow)