SV-226472r603265_rule
V-226472
SRG-OS-000326
GEN000920
CAT II
10
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.
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 is not applicable.
V-226472
False
GEN000920
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 is not applicable.
M
4060