UCF STIG Viewer Logo

All files and directories must have a valid owner.


Overview

Finding ID Version Rule ID IA Controls Severity
V-215002 UBTU-16-010700 SV-215002r610931_rule Medium
Description
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.
STIG Date
Canonical Ubuntu 16.04 LTS Security Technical Implementation Guide 2020-12-09

Details

Check Text ( C-16201r284874_chk )
Verify all files and directories on the Ubuntu operating system have a valid owner.

Check the owner of all files and directories with the following command:

# sudo find / -nouser

If any files on the system do not have an assigned owner, this is a finding.
Fix Text (F-16199r284875_fix)
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 Ubuntu operating system with the "chown" command:

# sudo chown