4.7.1.10 Ensure root user has a dedicated home directory

Information

The root user must have a dedicated home directory and not use / as their home directory.

Rationale:

By default, the home directory for the root user on AIX is /. This means that all configuration files and directories it creates are visible to all users and may be accessible if the root user has a weak umask setting.

Moving these files to a dedicated home directory and setting appropriate file permissions allows for appropriate use of discretionary access control to these files.

Solution

Create a new home directory for the root user

mkdir /root

Set ownership and permissions on this directory

chown root:system /root
chmod 0700 /root

Update the home directory for the root user

chuser home=/root root

Move any necessary configuration files or directories to this new directory

See Also

https://workbench.cisecurity.org/benchmarks/13069

Item Details

Category: CONFIGURATION MANAGEMENT, SYSTEM AND SERVICES ACQUISITION

References: 800-53|CM-2, 800-53|CM-6, 800-53|CM-7, 800-53|CM-7(1), 800-53|CM-9, 800-53|SA-3, 800-53|SA-8, 800-53|SA-10, CSCv7|5.1

Plugin: Unix

Control ID: c360e096dc05ee8782a4d59fa6b7af7f7a292d930849aeda6d163346263d36ed