6.2.29 Ensure users' files and directories within the home directory permissions are 750 or more restrictive

Information

The operating system must be configured so that all files and directories contained in local interactive user home directories have a mode of 0750 or less permissive.

Rationale:

If a local interactive user files have excessive permissions, unintended users may be able to access or modify them.

Solution

Set the mode on files and directories in the local interactive user home directory with the following command:
Note: The example will be for the user smithj, who has a home directory of /home/smithj and is a member of the users group.

# chmod 0750 /home/smithj/<file>

Notes:

This Benchmark recommendation maps to:

Red Hat Enterprise Linux 7 Security Technical Implementation Guide:

Version 2, Release: 3 Benchmark Date: 26 Apr 2019



Vul ID: V-72027

Rule ID: SV-86651r2_rule

STIG ID: RHEL-07-020680

Severity: CAT II

See Also

https://workbench.cisecurity.org/files/2688

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b.

Plugin: Unix

Control ID: d7910b15c93989cb934533d261355722dee43b059d79a32e85ceeee6dea18cb1