UCF STIG Viewer Logo

All files and directories contained in interactive user home directories must be owned by the home directorys owner.


Overview

Finding ID Version Rule ID IA Controls Severity
V-51247 OSX8-00-01010 SV-65457r1_rule Medium
Description
All files and directories contained in interactive user home directories must be owned by the home directory's owner.
STIG Date
Apple OS X 10.8 (Mountain Lion) Workstation STIG 2015-02-10

Details

Check Text ( C-53595r1_chk )
To list all of the accounts on the system and their defined home directories, run the following command:

sudo dscl . -list /users NFSHomeDirectory

For all non-system users, validate the ownership of each user's home directory by running the following command:

sudo ls -ld [home directory]

If the folder is not owned by the user, this is a finding.
Fix Text (F-56047r1_fix)
To change the ownership of the files and directories to the owner of the home directory, run the following command:

sudo chown -R username /Users/username