6.2.19 Ensure all local interactive user home directories are group-owned

Information

The operating system must be configured so that all local interactive user home directories are group-owned by the home directory owners primary group.

Rationale:

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, and users that share the same group may not be able to access files that they legitimately should.

Solution

Change the group owner of a local interactive user's home directory to the group found in /etc/passwd. To change the group owner of a local interactive user's home directory, use 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.

# chgrp users /home/smithj

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CCI|CCI-000366, CSCv6|3.1, CSCv7|14.6, Rule-ID|SV-204470r744102_rule, STIG-ID|RHEL-07-020650

Plugin: Unix

Control ID: 46ce1f5b9e35ee233c19242c70e9d15ec32a2ee16a9d5703f4e0e5afe99c9d7d