AIX7-00-003140 - The AIX root user home directory must not be the root directory (/).

Information

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.

Solution

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

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_IBM_AIX_7-x_V3R1_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-215434r991592_rule, STIG-ID|AIX7-00-003140, STIG-Legacy|SV-101849, STIG-Legacy|V-91751, Vuln-ID|V-215434

Plugin: Unix

Control ID: 2d0b84fd698dfced48a762baba6a940f85e92b3c94b11b300fdb66e5515fb114