7.5 Change Home Directory for root Account - Check /root permissions.

Information

By default, the Solaris OS root user's home directory is '/'.


Note - If the user logs into GNOME, the directories 'Desktop' and 'Documents' will also be created under /. Move these directories into /root, if they exist.

Solution

Perform the following to implement the recommended state-

mkdir -m 700 /root

mv -i /.?* /root/

passmgmt -m -h /root root

See Also

https://benchmarks.cisecurity.org/tools2/solaris/CIS_Oracle_Solaris_10_Benchmark_v5.2.0.pdf

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6

Plugin: Unix

Control ID: 810b34061fea3d8898650eb19597b9a310e5ec81df3a54e25945920c45df5fef