RHEL-07-020650 - The Red Hat Enterprise Linux operating system must be configured so that all local interactive user home directories are group-owned by the home directory owners primary group.

Information

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://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_7_V3R15_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-204470r991589_rule, STIG-ID|RHEL-07-020650, STIG-Legacy|SV-86645, STIG-Legacy|V-72021, Vuln-ID|V-204470

Plugin: Unix

Control ID: 629332e4e35158bfafe9f5ffd3861a49e0855500bfdc41b22f361b066c89f2ed