All OL 8 local interactive user home directories must be group-owned by the home directory owner's primary group.
An XCCDF Rule
Description
<VulnDiscussion>If the Group Identifier (GID) of a local interactive user’s home directory is not the same as the primary GID of the user, this would allow unauthorized access to the user’s files. Users that share the same group may not be able to access files to which they legitimately should have access.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-248641r880567_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Change the group owner of a local interactive user’s home directory to the group found in "/etc/passwd" using the following command.
Note: The example will be for the user "smithj", who has a home directory of "/home/smithj" and has a primary group of users.
$ sudo chgrp users /home/smithj