OL08-00-010740 - All OL 8 local interactive user home directories must be group-owned by the home directory owner's 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. Users that share the same group may not be able to access files to which they legitimately should have access.

Solution

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

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-248641r991589_rule, STIG-ID|OL08-00-010740, Vuln-ID|V-248641

Plugin: Unix

Control ID: 1431bd6ab1d2c22babb6e94e89d0b09190977cc7283ee12d84314a2a352138b7