Rule ID
SV-44902r1_rule
Version
V1R12
CCIs
Permissions greater than 0700 could allow unauthorized users access to the root home directory.
Check the mode of the root home directory.
Procedure:
# grep "^root" /etc/passwd | awk -F":" '{print $6}'
# ls -ld <root home directory>
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".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.