GEN001160 - All files and directories must have a valid owner.

Information

Unowned files and directories may be unintentionally inherited if a user is assigned the same UID as the UID of the unowned files.

Solution

All directories and files (executable and data) will have an identifiable owner and group name. Either trace files to an authorized user, change the file's owner to root, or delete them. Determine the legitimate owner of the files and use the chown command to set the owner and group to the correct value. If the legitimate owner cannot be determined, change the owner to root (but make sure none of the changed files remain executable because they could be Trojan horses or other malicious code). Examine the files to determine their origin and the reason for their lack of an owner/group.

See Also

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

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-16(3), CAT|II, CCI|CCI-000366, Rule-ID|SV-227611r603266_rule, STIG-ID|GEN001160, STIG-Legacy|SV-785, STIG-Legacy|V-785, Vuln-ID|V-227611

Plugin: Unix

Control ID: abafdb9fa199c1506f4e1ffa992a3d45801ff1143ff51a6db3640431f74be075