Skip to content

The Oracle Linux operating system must be configured so that all local interactive user home directories are owned by their respective users.

An XCCDF Rule

Description

If a local interactive user does not own their home directory, unauthorized users could access or modify the user's files, and the users may not be able to access their own files.

ID
SV-221730r991589_rule
Version
OL07-00-020640
Severity
Medium
References
Updated

Remediation Templates

A Manual Procedure

Change the owner of a local interactive user's home directories to that owner. To change the owner of a local interactive user's home directory, use the following command:

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

# chown smithj /home/smithj