SV-215434r508663_rule
V-215434
SRG-OS-000480-GPOS-00230
AIX7-00-003140
CAT II
10
The root home directory should be something other than "/" (such as /root).
Run commands:
# mkdir /root
# chown root /root
# chgrp system /root
# chmod 700 /root
Then, edit the passwd file and change the root home directory to "/root".
Determine if root is assigned a home directory other than "/" by listing its home directory by running command:
# grep "^root" /etc/passwd | awk -F":" '{print $6}'
/root
If the root user's home directory is "/", this is a finding.
V-215434
False
AIX7-00-003140
Determine if root is assigned a home directory other than "/" by listing its home directory by running command:
# grep "^root" /etc/passwd | awk -F":" '{print $6}'
/root
If the root user's home directory is "/", this is a finding.
M
4012