Skip to content

All RHEL 9 local files and directories must have a valid owner.

An XCCDF Rule

Description

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

ID
SV-257931r991589_rule
Version
RHEL-09-232255
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

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 9 with the "chown" command:

$ sudo chown <user> <file>