RHEL-08-010741 - RHEL 8 must be configured so that all files and directories contained in local interactive user home directories are group-owned by a group of which the home directory owner is a member.

Information

If a local interactive user's files are group-owned by a group of which the user is not a member, unintended users may be able to access them.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Change the group of a local interactive user's files and directories to a group that the interactive user is a member. To change the group owner of a local interactive user's files and directories, use the following command:

Note: The example will be for the user smithj, who has a home directory of "/home/smithj" and is a member of the users group.

$ sudo chgrp smithj /home/smithj/<file or directory>

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_8_V2R3_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-244532r1017339_rule, STIG-ID|RHEL-08-010741, Vuln-ID|V-244532

Plugin: Unix

Control ID: 097cdae9950665cffd9d67cd267901c654b2f9347af6f7b88833193b05097979