The Oracle Linux operating system 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.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-221733 | OL07-00-020670 | SV-221733r991589_rule | CCI-000366 | medium |
| Description | ||||
| 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. | ||||
| STIG | Date | |||
| Oracle Linux 7 Security Technical Implementation Guide | 2025-05-08 | |||
Related Frameworks
4 paths across 3 frameworks
Related Frameworks
NIST 800-531 mapping
CM-6
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1712 mappings
3.4.1
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
3.4.2
1.00
- DISA · 3 · disa_xccdf · related
- DISA · 2025-01-23 · disa_cci_list · equivalent
- NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-000366
1.00
- DISA · 3 · disa_xccdf · related
Details
Check Text (C-221733r991589_chk)
Verify all files and directories in a local interactive user home directory are group-owned by a group of which the user is a member.
Check the group owner of all files and directories in a local interactive user's home directory with the following command:
Note: The example will be for the user "smithj", who has a home directory of "/home/smithj".
# ls -lLR /<home directory>/<users home directory>/
-rw-r--r-- 1 smithj smithj 18 Mar 5 17:06 file1
-rw-r--r-- 1 smithj smithj 193 Mar 5 17:06 file2
-rw-r--r-- 1 smithj sa 231 Mar 5 17:06 file3
If any files are found with an owner different than the group home directory user, check to see if the user is a member of that group with the following command:
# grep smithj /etc/group
sa:x:100:juan,shelley,bob,smithj
smithj:x:521:smithj
If the user is not a member of a group that group-owns file(s) in a local interactive user's home directory, this is a finding.
Fix Text (F-23437r419272_fix)
Change the group of a local interactive user's files and directories to a group that the interactive user is a member of. 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.
# chgrp users /home/smithj/<file>