RHEL-07-020320 - The Red Hat Enterprise Linux operating system must be configured so that all files and 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 the system with the 'chown' command:

# chown <user> <file>

See Also

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