STIGUI
V-215434CAT II — Medium severitySV-215434r991592_rule

The AIX root user home directory must not be the root directory (/).

Rule version AIX7-00-003140 · STIG v3 · 2026-08-31

Discussion

Changing the root home directory to something other than / and assigning it a 0700 protection makes it more difficult for intruders to manipulate the system by reading the files that root places in its default directory. It also gives root the same discretionary access control for root's home directory as for the other plain user home directories.

Check

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.

Fix

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".

Identifiers

Group ID
V-215434
Group title
SRG-OS-000480-GPOS-00230
Rule ID
SV-215434r991592_rule
Check ID
C-16632r294753_chk
Fix ID
F-16630r294754_fix