InformationBy 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.
SolutionPerform the following to implement the recommended state-
mkdir -m 700 /root
mv -i /.?* /root/
passmgmt -m -h /root root