RHEL-07-020660 - The Red Hat Enterprise Linux operating system must be configured so that all files and directories contained in local interactive user home directories have a valid owner.

Information

Unowned files and directories may be unintentionally inherited if a user is assigned the same User Identifier 'UID' as the UID of the un-owned files.

Solution

Either remove all files and directories from the system that do not have a valid user, or assign a valid user to all unowned files and directories on RHEL 7 with the 'chown' command:

Note: The example will be for the user smithj, who has a home directory of '/home/smithj'.

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

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-204471r991589_rule, STIG-ID|RHEL-07-020660, STIG-Legacy|SV-86647, STIG-Legacy|V-72023, Vuln-ID|V-204471

Plugin: Unix

Control ID: 2086e89d48d2069fd471216848c67d2cac817aed9706c35d6158faaf61f7ff1e