UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The root account's home directory (other than /) must have mode 0700.


Overview

Finding ID Version Rule ID IA Controls Severity
V-775 GEN000920 SV-38450r1_rule ECCD-1 ECCD-2 Medium
Description
Permissions greater than 0700 could allow unauthorized users access to the root home directory.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2015-06-12

Details

Check Text ( C-36273r1_chk )
Check the mode of the root home directory.

Procedure:
# cat /etc/passwd | grep "^root" | cut -f 6,6 -d ":"
# ls -lLd

If the mode of the directory is not equal to 0700, this is a finding. If the home directory is /, this check will be marked Not Applicable.
Fix Text (F-31530r1_fix)
The root home directory will have permissions of 0700. Do not change the protections of the / directory. Use the following command to change protections for the root home directory:
# chmod 0700 /rootdir.